[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:09:30 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:  reopened
Component:  Comments                             |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.4
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  testing                                        |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by jorbin):

 @ocean90 Do you want to write an update to revert the `<` to `<=` part of
 [38297]?

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


More information about the wp-trac mailing list