[wp-trac] [WordPress Trac] #28159: get_body_class makes a raw, uncacheable query for child posts
WordPress Trac
noreply at wordpress.org
Tue Jun 3 13:47:18 UTC 2014
#28159: get_body_class makes a raw, uncacheable query for child posts
--------------------------+-----------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Themes | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
--------------------------+-----------------------
Comment (by kovshenin):
Using `get_posts()` will actually make it [https://cloudup.com/cTaAmXM1CQA
~ 5x slower] and doesn't really do any useful caching.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28159#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list