[wp-trac] [WordPress Trac] #25814: Not enough params for get_comment_class in WP_Comments_List_Table->display()

WordPress Trac noreply at wordpress.org
Mon Nov 4 10:59:34 UTC 2013


#25814: Not enough params for get_comment_class in
WP_Comments_List_Table->display()
----------------------------+------------------
 Reporter:  drozdz          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.8
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------
Changes (by SergeyBiryukov):

 * version:  3.7.1 => 3.3
 * component:  General => Administration
 * milestone:  Awaiting Review => 3.8


Comment:

 Related: [18594] (for #18447).

 This would also fix the inconsistent (and potentially incorrect) addition
 of `bypostauthor` class in the admin. Currently it depends on the `$post`
 global, which is set after `get_comment_class()` is called:
 http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-admin/includes
 /class-wp-comments-list-table.php#L310
 http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-includes/comment-
 template.php#L348

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25814#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list