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

WordPress Trac noreply at wordpress.org
Thu Sep 17 19:29:48 UTC 2015


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

Comment (by boonebgorges):

 In [changeset:"34268"]:
 {{{
 #!CommitTicketReference repository="" revision="34268"
 Prime comment meta caches in `WP_Comment_Query`.

 The new 'update_comment_meta_cache' parameter, which defaults to `true`,
 can
 be used to disable this behavior.

 `update_comment_cache()` has been updated to support an
 `$update_meta_cache`
 parameter, which also updates to true; this matches the pattern we use for
 priming post caches.

 See #16894.
 }}}

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


More information about the wp-trac mailing list