[wp-trac] [WordPress Trac] #47686: Always flush rewrite rules when active plugins changes & on plugin upgrades
WordPress Trac
noreply at wordpress.org
Thu Jul 11 22:01:28 UTC 2019
#47686: Always flush rewrite rules when active plugins changes & on plugin upgrades
-----------------------------+------------------------------
Reporter: johnjamesjacoby | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by johnjamesjacoby):
* component: Rewrite Rules => General
Comment:
Maybe core doesn't even need to store the second option to compare.
Maybe... the first option is actually what's queried early by
`wp_load_alloptions()`, and the second option is what WordPress thinks
they should be on the `wp_loaded` hook (where all calls to
`flush_rewrite_rules()` get deferred to, thanks to the `$do_hard_later`
handler.
Hmmmmm.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47686#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list