[wp-trac] [WordPress Trac] #14549: Allow Control over Hard vs. Soft Rewrite Flush

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 6 02:20:24 UTC 2010


#14549: Allow Control over Hard vs. Soft Rewrite Flush
---------------------------+------------------------------------------------
 Reporter:  ikailo         |       Owner:                 
     Type:  enhancement    |      Status:  new            
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:                 
 Severity:  normal         |    Keywords:                 
---------------------------+------------------------------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14549>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list