[wp-trac] [WordPress Trac] #11334: Add caching to get_page_of_comment()

WordPress Trac noreply at wordpress.org
Fri Sep 25 13:54:05 UTC 2015


#11334: Add caching to get_page_of_comment()
--------------------------+---------------------------
 Reporter:  Viper007Bond  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  closed
 Priority:  high          |   Milestone:  4.4
Component:  Comments      |     Version:  2.9
 Severity:  major         |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"34540"]:
 {{{
 #!CommitTicketReference repository="" revision="34540"
 Don't run `get_page_of_comment()` cache test on Multisite.

 `get_page_of_comment()` uses `get_option()`, and WP_INSTALLING earlier in
 the
 test suite causes `get_option()` to miss the cache. See #31130.

 See #11334.
 }}}

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


More information about the wp-trac mailing list