Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
<?php add_action( 'init', 'create_posttype' ); function create_posttype() { register_post_type( 'haber', 'name' => 'Blog Yazıları', 'singular_name' => 'Blog', 'add_new' => 'Yeni Blog Yazısı Ekle', 'add_new_item' => 'Yeni Blog Yazısı Ekle', 'edit' => 'Yazıyı Düzenle', 'edit_item' => 'Yazıyı Düzenle', 'new_item' => 'Yeni Blog Yazısı Ekle', 'view' => 'Yazıyı Görüntüle', 'view_item' => 'Yazıyı Görüntüle', 'search_items' => 'Blog Yazılarında Ara', 'not_found' => 'Yazı Bulunamadı', 'not_found_in_trash' => 'Yazı Bulunamadı', 'parent' => 'Tüm Blog Yazıları' ), 'show_ui' => true, 'capability_type' => 'post', 'supports' => array( 'title', 'editor', 'comments', 'thumbnail', 'post-formats', 'author', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'post-formats' ), 'query_var' => true, 'menu_icon' =>'dashicons-location-alt', 'rewrite' => true, 'public' => true, 'menu_position' => 5, 'hierarchical' => true, 'has_archive' => true, 'can_export' => true, ) ); register_post_type( 'kategorikliste', 'name' => 'Kategorik Liste', 'singular_name' => 'Kategorik Liste', 'add_new' => 'Yeni Ekle', 'add_new_item' => 'Yeni Ekle', 'edit' => 'Düzenle', 'edit_item' => 'Düzenle', 'new_item' => 'Yeni Ekle', 'view' => 'Görüntüle', 'view_item' => 'Görüntüle', 'search_items' => 'Ara', 'not_found' => 'Bulunamadı', 'not_found_in_trash' => 'Öğe Bulunamadı', 'parent' => 'Tümü' ), 'show_ui' => true, 'capability_type' => 'post', 'query_var' => true, 'menu_icon' =>'dashicons-editor-kitchensink', 'rewrite' => true, 'public' => true, 'publicly_queryable' => true, 'exclude_from_search' => true, 'menu_position' => 5, 'menu_position' => 5, 'has_archive' => false, ) ); } add_action( 'init', 'create_post_taxonomies', 0 ); add_action( 'init', 'create_post_taxonomies', 0 ); function create_post_taxonomies() { 'name' => _x( 'Yola Çıkılan Şehir', 'taxonomy general name' ), 'singular_name' => _x( 'Yola Çıkılan Şehir', 'taxonomy singular name' ), 'search_items' => __( 'Ara' ), 'all_items' => __( 'Tümüne Bak' ), 'parent_item' => __( 'Yola Çıkılan Şehir' ), 'parent_item_colon' => __( 'Yola Çıkılan Şehir:' ), 'edit_item' => __( 'Düzenle' ), 'update_item' => __( 'Güncelle' ), 'add_new_item' => __( 'Yeni Ekle' ), 'new_item_name' => __( 'Yeni Şehir' ), 'menu_name' => __( 'Yola Çıkılan Şehir' ), ); 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, 'has_archive' => true, ); }; function add_custom_types_to_tax( $query ) { $post_types = get_post_types(); $query->set( 'post_type', $post_types ); return $query; } } add_filter( 'pre_get_posts', 'add_custom_types_to_tax' ); ?>