Allow Control over Hard vs. Soft Rewrite Flush
|Reported by:||ikailo||Owned by:|
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
Change History (8)
21 months ago
- Keywords 2nd-opinion removed
- Resolution set to duplicate
- Status changed from new to closed