[wp-trac] [WordPress Trac] #33947: get_comment_class raises a PHP notice for non-registered users

WordPress Trac noreply at wordpress.org
Tue Sep 22 10:19:10 UTC 2015


#33947: get_comment_class raises a PHP notice for non-registered users
------------------------------------------+------------------------------
 Reporter:  walterebert                   |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Comments                      |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:  template
------------------------------------------+------------------------------

Comment (by walterebert):

 It makes sense to me, to at least have a "comment" / "comment type" class,
 instead of no class at all.

 I will look into writing a unit test for this.

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


More information about the wp-trac mailing list