[wp-trac] [WordPress Trac] #20633: wp-includes/comment.php:738 - Undefined property: WP_Query::$comments

WordPress Trac noreply at wordpress.org
Mon Jul 8 18:37:56 UTC 2013


#20633: wp-includes/comment.php:738 - Undefined property: WP_Query::$comments
----------------------------------------+-----------------------------
 Reporter:  markjaquith                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Warnings/Notices            |     Version:  3.3.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback => has-patch needs-unit-tests
 * milestone:  3.6 => Future Release


Comment:

 I would feel much better about these awkward logic changes if
 get_comment_pages_count() had some basic unit tests for various values and
 types of $comments and $wp_query->comments.

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


More information about the wp-trac mailing list