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

WordPress Trac noreply at wordpress.org
Mon Aug 18 15:49:29 UTC 2014


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

Comment (by westi):

 Replying to [comment:1 johnbillion]:
 > Even better would be to use `home_url()` in the cache key, but this
 makes it likely to become longer than the allowed key size of 64 chars.

 I think using home_url is probably a little excessive, if we are really
 worried about cache pollution when home_url changes we can just hook the
 purging function onto that too.

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


More information about the wp-trac mailing list