[wp-trac] [WordPress Trac] #37416: In WP_Comment_Query::fill_descendants() compute the size beforehand and not on each iteration

WordPress Trac noreply at wordpress.org
Wed Sep 21 17:37:04 UTC 2016


#37416: In WP_Comment_Query::fill_descendants() compute the size beforehand and not
on each iteration
-------------------------------------------------+-------------------------
 Reporter:  ocean90                              |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  low                                  |      Status:  closed
Component:  Comments                             |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.4
 Keywords:  good-first-bug has-patch needs-      |  Resolution:  fixed
  testing                                        |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38639"]:
 {{{
 #!CommitTicketReference repository="" revision="38639"
 Comments: Revert [38298].

 Instead use the correct comparison operator which was changed in [38297].

 Fixes #37416.
 }}}

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


More information about the wp-trac mailing list