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

WordPress Trac noreply at wordpress.org
Wed Jan 29 05:16:59 UTC 2014


#20633: wp-includes/comment.php:738 - Undefined property: WP_Query::$comments
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  normal                               |      Status:  closed
Component:  Comments                             |   Milestone:  3.9
 Severity:  normal                               |     Version:  3.3.2
 Keywords:  has-patch needs-unit-tests           |  Resolution:  fixed
  3.8-early                                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27055"]:
 {{{
 #!CommitTicketReference repository="" revision="27055"
 Add Unit Tests for `get_comment_pages_count()`. Fix a notice caused when
 `$wp_query->comments` is not set in that function.

 Props mdbitz, markjaquith.
 Fixes #20633.
 }}}

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


More information about the wp-trac mailing list