Make WordPress Core

Opened 4 years ago

#51953 new defect (bug)

flush_rewrite_rules works not as the same as pressing "save permalinks" in backend (breaks system)

Reported by: rocketworks's profile Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.3
Component: Permalinks Keywords:
Focuses: Cc:



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?

Change History (0)

Note: See TracTickets for help on using tickets.