#14549 closed enhancement (duplicate)
Allow Control over Hard vs. Soft Rewrite Flush
| Reported by: | ikailo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Rewrite Rules | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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 (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Any filter here should be in the method directly, not the function wrapper.