[wp-trac] [WordPress Trac] #51953: flush_rewrite_rules works not as the same as pressing "save permalinks" in backend (breaks system)
WordPress Trac
noreply at wordpress.org
Mon Dec 7 08:23:10 UTC 2020
#51953: flush_rewrite_rules works not as the same as pressing "save permalinks" in
backend (breaks system)
--------------------------+-----------------------------
Reporter: rocket.works | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 5.5.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello!
We got a strange issue in one of our production systems.
It has the latest WordPress version (5.5.e).
Deactivating all plugins is not possible on the production system.
If a plugin (e.g. after updating) is using flush_rewrite_rules, it breaks
the permalinks for the woocommerce backend.
However, the fix to this issue is, to simply save the permalinks via the
backend again and everything works fine.
Where does the implementation of the two functions differ?
Should both functions not work the same?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51953>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list