[wp-trac] [WordPress Trac] #10981: Storing rewrite_rules in a transient causes issues with non-permanent object caches and plugins that add endpoints
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 19 20:40:31 UTC 2009
#10981: Storing rewrite_rules in a transient causes issues with non-permanent
object caches and plugins that add endpoints
---------------------------+------------------------------------------------
Reporter: markjaquith | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9
Component: Rewrite Rules | Version: 2.9
Severity: major | Keywords:
---------------------------+------------------------------------------------
If a WP install is using a non-permanent object cache like Memcache, its
"transient"-stored rewrite_rules entry will go away without warning and WP
will regenerate it. That regeneration happens before init, where many
plugins use add_rewrite_endpoint(). Thus the rules will get populated
without the endpoint.
e.g. http://wordpress.org/support/topic/313946
Recommend we revert to old option-based method of rewrite_rules storage.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10981>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list