[wp-trac] [WordPress Trac] #41131: Add caching to get_adjacent_post
WordPress Trac
noreply at wordpress.org
Mon Jul 3 20:20:53 UTC 2017
#41131: Add caching to get_adjacent_post
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Posts, Post Types | Review
Severity: normal | Version: 2.5
Keywords: has-patch has-unit-tests dev- | Resolution:
feedback | Focuses:
| performance
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
In [https://core.trac.wordpress.org/ticket/26937#comment:57
26937#comment:57 ] @wpdavis has a valid point about caching. It seems like
we have been down the road of trying to use WP_Query in this function.
This patch adds caching to an expensive sql query. This ticket should
progress ahead of #26937
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41131#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list