[wp-trac] [WordPress Trac] #51082: Default value for comment_type changed can lead to comments not shown

WordPress Trac noreply at wordpress.org
Tue Sep 1 22:29:09 UTC 2020


#51082: Default value for comment_type changed can lead to comments not shown
--------------------------+------------------------------
 Reporter:  Ov3rfly       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by sulfsby):

 All Artisteer generated themes have the same problem. They have this code:
 {{{#!php
 <?php
 function theme_comment($comment, $args, $depth) {
 $GLOBALS['comment'] = $comment;
 switch ($comment->comment_type) :
 case '' :
 ?>
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51082#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list