Changes from trunk/wp-includes/rewrite.php at r11450 to branches/2.8/wp-includes/rewrite.php at r11579
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/rewrite.php
r11450 r11579 1823 1823 * @since 2.0.1 1824 1824 * @access public 1825 */ 1826 function flush_rules() { 1825 * @param $hard bool Whether to update .htaccess (hard flush) or just update rewrite_rules transient (soft flush). Default is true (hard). 1826 */ 1827 function flush_rules($hard = true) { 1827 1828 delete_transient('rewrite_rules'); 1828 1829 $this->wp_rewrite_rules(); 1829 if ( function_exists('save_mod_rewrite_rules') )1830 if ( $hard && function_exists('save_mod_rewrite_rules') ) 1830 1831 save_mod_rewrite_rules(); 1831 if ( function_exists('iis7_save_url_rewrite_rules') )1832 if ( $hard && function_exists('iis7_save_url_rewrite_rules') ) 1832 1833 iis7_save_url_rewrite_rules(); 1833 1834 }
Note: See TracChangeset
for help on using the changeset viewer.