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

WordPress Trac noreply at wordpress.org
Fri Sep 20 05:17:18 UTC 2013


#11334: Add caching to get_page_of_comment()
-------------------------------------+------------------
 Reporter:  Viper007Bond             |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  high                     |   Milestone:  3.7
Component:  Comments                 |     Version:  2.9
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by jeremyfelt):

 [attachment:11334.diff] is a refresh against trunk with a couple notes.

 * Tweaked code style a bit, clarified variable names.
 * The patch makes use of `wp_cache_replace()` and would become the only
 place in core that does so if committed. Not sure if that says something
 or if there is a better approach now.

 Not sure if this is critical enough to make it in 3.7. May want to
 consider punting so that there is more time to test.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11334#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list