en son yaptığınız değişiklik nedir?

Merhaba arkadaşlar bilgisayara wordpress kurdum herşey hazır hosta atıcam ama şu hatayı bir türlübulamadım konuyu takip ediyorum. Fatal error: Call to undefined function session_is_registered in C:\EasyPHP-12.1\www\web\wordpress\wp-content\themes\qna\comments. php on line 204 Comment. php dosyası şu şekilde &lt;!-- Trieu:jquery --&gt; &lt;?php wp_enqueue_script ; ?&gt; &lt;?php wp_head ; ?&gt; &lt;script type=&quot;text/javascript&quot;&gt; function thump { jQuery. post( '&lt;?php echo get_bloginfo . &quot;/ajax_mark_thump. php&quot;?&gt;', , function { if(data. accepted '1') else }, &quot;json&quot; ); //end Jquery post } //end function thump &lt;/script&gt; &lt;?php if (isset &amp;&amp; 'comments. php' basename die ( ; ?&gt; &lt;?php global $wpdb; global $comment; $cpage = get_query_var ; $comments_per_page = intval(get_option ; $start = (get_query_var - 1) $comments_per_page; $top = get_metadata('post', get_the_ID , 'tgt_best_answer', true); if : if ($cpage 1){ $comments_per_page -= 1; ///////print best answer/////////// $comment = get_comment ; $link_avatar = get_user_meta ; if(empty else $author_comment = get_comment_author ; ?&gt; &lt;div class=&quot;question-answer&quot;&gt; &lt;!-- #question-answer--&gt; &lt;div class=&quot;question-answer-title&quot;&gt; &lt;div class=&quot;question-user-img-nobg&quot;&gt; &lt;img alt=&quot;&lt;?php _e ; ?&gt;&quot; src=&quot;&lt;?php echo $link_avatar;?&gt;&quot; height=&quot;32&quot; width=&quot;32&quot;/&gt; &lt;/div&gt; &lt;div class=&quot;answer-by&quot;&gt; &lt;p&gt; &lt;a href=&quot;&lt;?php echo get_bloginfo . '/?action=profileusers&amp;iduser=' . $comment-&gt;user_id; ;?&gt;&quot; style=&quot;color:#8497A4&quot;&gt; &lt;?php $u_data = get_userdata ;echo $u_data-&gt;user_login;?&gt; &lt;/a&gt; &lt;/p&gt; &lt;p class=&quot;answer-date-2&quot;&gt;&lt;?php comment_time ;?&gt;&lt;/p&gt; &lt;/div&gt; &lt;img src=&quot;&lt;?php echo get_bloginfo ?&gt;/images/best. gif&quot; style=&quot;float:right; margin-right:10px;&quot;/&gt; &lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;answer-content&quot;&gt; &lt;?php comment_text ;?&gt; &lt;div class=&quot;answer2&quot;&gt; &lt;ul&gt; &lt;li&gt; &lt;a href=&quot;javascript:thump('up', '&lt;?php echo get_comment_ID ;?&gt;', '&lt;?php the_ID ;?&gt;');&quot; id=&quot;&lt;?php echo 'cup' . get_comment_ID ;?&gt;&quot; class=&quot;up&quot;&gt; &lt;?php $arr = get_metadata('comment', get_comment_ID , 'tgt_num_thump_up', true); echo (count(explode -1) ; ?&gt; &lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=&quot;javascript:thump('down', '&lt;?php echo get_comment_ID ;?&gt;', '&lt;?php echo the_ID ;?&gt;');&quot; id=&quot;&lt;?php echo 'cdown' . get_comment_ID ;?&gt;&quot; class=&quot;down&quot;&gt; &lt;?php $arr = get_metadata('comment', get_comment_ID , 'tgt_num_thump_down', true); echo (count(explode -1); ?&gt; &lt;/a&gt; &lt;/li&gt; &lt;li style=&quot;border-right:none;&quot;&gt; &lt;a href=&quot; &lt;?php if echo get_bloginfo . '/report_spam. php?answer=' . get_comment_ID ; else echo &quot;javascript:alert ;&quot;; ?&gt;&quot;&gt; &lt;?php _e ; ?&gt; &lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;img src=&quot;&lt;?php echo get_bloginfo ?&gt;/images/answer-bg-bottom. jpg&quot; /&gt; &lt;/div&gt; &lt;?php } else endif; ?&gt; &lt;!-- print answer not best answer --&gt; &lt;?php if($start &lt; 0 ) $query = &quot; SELECT DISTINCT c. FROM $wpdb-&gt;comments c, $wpdb-&gt;commentmeta cm WHERE c.comment_post_ID = '&quot; . get_the_ID . &quot;' AND comment_approved = '1' AND c.comment_ID &lt;&gt; '$top' LIMIT $start, $comments_per_page &quot;; $results = $wpdb-&gt;get_results ; foreach ?&gt; &lt;!-- paginate --&gt; &lt;div class=&quot;answer-post&quot; style=&quot;margin:0;&quot;&gt; &lt;div class=&quot;wp-pagenavi&quot;&gt; &lt;p&gt; &lt;?php get_comment_pagination ; ?&gt; &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- form submit answer --&gt; &lt;?php if {?&gt; &lt;div class=&quot;answer-post&quot;&gt; &lt;a name=&quot;&lt;?php _e ?&gt;&quot;&gt;&lt;/a&gt; &lt;p&gt;&lt;?php _e ; ?&gt;&lt;/p&gt; &lt;/div&gt; &lt;div id=&quot;cancel-comment-reply&quot;&gt; &lt;small&gt;&lt;?php cancel_comment_reply_link ?&gt;&lt;/small&gt; &lt;/div&gt; &lt;form action=&quot;&lt;?php echo get_bloginfo ?&gt;/comment_submit. php&quot; method=&quot;post&quot; id=&quot;comment_form&quot; name=&quot;comment_form&quot;&gt; &lt;?php comment_id_fields ; $comment_session = ''; session_start ; if(session_is_registered ?&gt; &lt;input type=&quot;hidden&quot; name =&quot;id_parent&quot; value=&quot;&lt;?php if(isset &amp;&amp; isset echo $_GET .&quot;&amp;id=&quot;.$_GET ; ?&gt;&quot; /&gt; &lt;div class=&quot;text-publish&quot;&gt; &lt;textarea name=&quot;comment&quot; id=&quot;comment&quot; cols=&quot;75&quot; rows=&quot;6&quot;&gt;&lt;?php if(! empty echo $comment_session; ?&gt;&lt;/textarea&gt; &lt;/div&gt; &lt;?php global $user_ID; if($user_ID &gt; 0 &amp;&amp; ! empty ?&gt; &lt;?php if ?&gt; &lt;?php do_action('comment_form', get_the_ID ; ?&gt; &lt;/form&gt; &lt;?php global $post; ?&gt; &lt;?php if { ?&gt; &lt;div class=&quot;text-publish&quot; style=&quot;width:auto;&quot;&gt; &lt;div class=&quot;text-publish2&quot; style=&quot;width:600px;&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ?&gt;&lt;/p&gt; &lt;input style=&quot;float:left; margin-right:10px;&quot; type=&quot;radio&quot; checked class=&quot;radio&quot; value=&quot;0&quot; id=&quot;r0&quot; name=&quot;radiocheck&quot; onclick=&quot;clickcheck &quot; &gt;&lt;p style=&quot;float:left; margin-right:10px; width:auto; font-size:12px; font-weight:bold; margin-bottom:0; margin-top:3px;&quot;&gt;&lt;?php _e ; ?&gt; &lt;/p&gt; &lt;input style=&quot;float:left; margin-right:10px;&quot; type=&quot;radio&quot; class=&quot;radio&quot; value=&quot;1&quot; id=&quot;r1&quot; name=&quot;radiocheck&quot; onclick=&quot;clickcheck &quot; &gt;&lt;p style=&quot;float:left; margin-right:10px; width:auto; font-size:12px; font-weight:bold; margin-bottom:0; margin-top:3px;&quot;&gt;&lt;?php _e ; ?&gt; &lt;/p&gt; &lt;/div&gt; &lt;div id=&quot;regis&quot; style=&quot;display:none;&quot;&gt; &lt;form action=&quot;&lt;?php echo HOME_URL;//get_bloginfo ?&gt;/?action=regis_submit&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; name=&quot;form_regis&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;regis_post_id&quot; value=&quot;&lt;?php echo $post-&gt;ID?&gt;&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;regis_comment&quot; id=&quot;regis_comment&quot;/&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ?&gt;:&lt;/p&gt; &lt;input name=&quot;image_filename&quot; type=&quot;file&quot; value=&quot;Browse&quot; style=&quot;float: left; margin: 0pt; padding: 0pt;&quot;&gt; &lt;/div&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ? )&lt;/p&gt; &lt;input style=&quot;background:#b9b9b9;&quot; class=&quot;input&quot; type=&quot;text&quot; name=&quot;regis_username&quot; id=&quot;regis_username&quot; size=&quot;35&quot; /&gt; &lt;/div&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ? )&lt;/p&gt; &lt;input style=&quot;background:#b9b9b9;&quot; class=&quot;input&quot; type=&quot;password&quot; name=&quot;regis_password&quot; id=&quot;regis_password&quot; size=&quot;35&quot; /&gt; &lt;/div&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ? )&lt;/p&gt; &lt;input style=&quot;background:#b9b9b9;&quot; class=&quot;input&quot; type=&quot;text&quot; name=&quot;regis_email&quot; id=&quot;regis_email&quot; size=&quot;35&quot; /&gt; &lt;/div&gt; &lt;div class=&quot;btn_red&quot; style=&quot;margin:0 0 10px 270px; float:left;cursor ointer;&quot;&gt; &lt;div class=&quot;btn_red_left&quot;&gt;&lt;/div&gt; &lt;div class=&quot;btn_red_repeat&quot;&gt; &lt;input type=&quot;button&quot; name=&quot;reigs_submit&quot; class=&quot;grey&quot; value=&quot;&lt;?php _e ; ?&gt;&quot; onclick=&quot;javascript:regis_submitform &quot;&gt; &lt;/div&gt; &lt;div class=&quot;btn_red_right&quot;&gt;&lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;/div&gt; &lt;div id=&quot;log&quot;&gt; &lt;form action=&quot;&lt;?php echo HOME_URL;//get_bloginfo ?&gt;/?action=log_submit&quot; method=&quot;post&quot; name=&quot;log_form&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;post_id&quot; value=&quot;&lt;?php echo $post-&gt;ID?&gt;&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;log_comment&quot; id=&quot;log_comment&quot;/&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ? )&lt;/p&gt; &lt;input style=&quot;background:#b9b9b9;&quot; class=&quot;input&quot; type=&quot;text&quot; id=&quot;log_username&quot; name=&quot;log_username&quot; size=&quot;35&quot; /&gt; &lt;/div&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p style=&quot;float:left; margin-right:10px; width:150px;&quot;&gt;&lt;?php _e ; ? )&lt;/p&gt; &lt;input style=&quot;background:#b9b9b9;&quot; class=&quot;input&quot; type=&quot;password&quot; id=&quot;log_password&quot; name=&quot;log_password&quot; size=&quot;35&quot; /&gt; &lt;/div&gt; &lt;div class=&quot;btn_red&quot; style=&quot;margin:0 0 10px 270px; float:left;cursor ointer;&quot;&gt; &lt;div class=&quot;btn_red_left&quot;&gt;&lt;/div&gt; &lt;div class=&quot;btn_red_repeat&quot;&gt; &lt;input type=&quot;button&quot; name=&quot;log_submit&quot; class=&quot;grey&quot; value=&quot;&lt;?php _e ; ?&gt;&quot; onclick=&quot;javascript:submitform &quot;&gt; &lt;/div&gt; &lt;div class=&quot;btn_red_right&quot;&gt;&lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;/div&gt; &lt;div class=&quot;text-publish2&quot;&gt; &lt;p id=&quot;error_login&quot;&gt;&lt;?php //session_start ; if(session_is_registered if(session_is_registered ?&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;script type=&quot;text/javascript&quot;&gt; function clickcheck { if(document. getElementById('r0'). checked true &amp;&amp; document. getElementById('r0'). value 0) else } function comment_form_submit function submitform { var submit = false; var username = document. getElementById . value; var password = document. getElementById . value; if else if else var comment = document. getElementById . value; document. getElementById . value = comment; if document. log_form. submit ; } function regis_submitform { var submit = false; var username = document. getElementById . value; var password = document. getElementById . value; var email = document. getElementById . value; if else if else if else { if(! validateEmail else } var comment = document. getElementById . value; document. getElementById . value = comment; if document. form_regis. submit ; } function validateEmail { var at=&quot;@&quot;; var dot=&quot;.&quot;; var lat=str. indexOf ; var lstr=str. length; var ldot=str. indexOf ; if (str. indexOf -1) if (str. indexOf -1 || str. indexOf 0 || str. indexOf lstr) if (str. indexOf -1 || str. indexOf 0 || str. indexOf lstr) if (str. indexOf(at,(lat+1))!=-1) if (str. substring(lat-1, lat) dot || str. substring(lat+1, lat+2) dot) if (str. indexOf(dot,(lat+2)) -1) if (str. indexOf !=-1) return true; } &lt;/script&gt; &lt;?php } ?&gt; &lt;!-- //endif --&gt; &lt;script type=&quot;text/javascript&quot;&gt;&lt;/script&gt;