Storing rewrite_rules in a transient causes issues with non-permanent object caches and plugins that add endpoints
|Reported by:||markjaquith||Owned by:||markjaquith|
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.
Recommend we revert to old option-based method of rewrite_rules storage.
Change History (5)
comment:1 markjaquith — 4 years ago
- Owner changed from ryan to markjaquith
- Status changed from new to accepted