[wp-trac] [WordPress Trac] #27565: Recent Posts Widget should include scheme in cache key

WordPress Trac noreply at wordpress.org
Thu Sep 24 00:11:23 UTC 2015


#27565: Recent Posts Widget should include scheme in cache key
--------------------------+-----------------------------
 Reporter:  dllh          |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Widgets       |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by wonderboymusic):

 [attachment:27565.3.diff 27565.3.diff] ditches the cache completely. No
 other widgets, except for Recent Comments, cache like this. This was 7
 releases before `$split_the_query`. Without an object cache, these queries
 already happen. With an object cache, posts are served from the cache.
 This will remove any cached scheme weirdness automatically.

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


More information about the wp-trac mailing list