[wp-trac] [WordPress Trac] #16894: Bulk load Comment Meta upon access

WordPress Trac noreply at wordpress.org
Thu Sep 17 18:16:48 UTC 2015


#16894: Bulk load Comment Meta upon access
-----------------------------------+--------------------------
 Reporter:  dd32                   |       Owner:  bradt
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  4.4
Component:  Comments               |     Version:  3.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  performance
-----------------------------------+--------------------------

Comment (by wonderboymusic):

 +1

 `wp_list_pluck()` alters the array you pass to it, doesn’t modify a copy -
 it borked for me, because I was passing `$wp_query->comments`. Bugs like
 these are a jazz to discover/realize

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


More information about the wp-trac mailing list