Opened 3 years ago
Last modified 2 years ago
#14549 new enhancement
Allow Control over Hard vs. Soft Rewrite Flush
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Rewrite Rules | Version: | |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: | john@… |
Description
Many times when the rewrite rules are flushed, it really only requires that the rules be written to the database and not .htaccess. In some cases, re-writing .htaccess can cause detrimental changes to the mod rewrite rules.
This patch allows a plugin author to have control over whether a hard flush is executed when flush_rewrite_rules() is called.
Introduces filter: flush_rewrite_rules_hard
Depends on #14546
Attachments (1)
Change History (6)
comment:5
markjaquith — 2 years ago
- Milestone changed from Awaiting Review to Future Release
Note: See
TracTickets for help on using
tickets.

Any filter here should be in the method directly, not the function wrapper.