Changes from branches/2.8/wp-includes/rewrite.php at r11579 to trunk/wp-includes/rewrite.php at r11450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rewrite.php
r11579 r11450 1823 1823 * @since 2.0.1 1824 1824 * @access public 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) { 1825 */ 1826 function flush_rules() { 1828 1827 delete_transient('rewrite_rules'); 1829 1828 $this->wp_rewrite_rules(); 1830 if ( $hard &&function_exists('save_mod_rewrite_rules') )1829 if ( function_exists('save_mod_rewrite_rules') ) 1831 1830 save_mod_rewrite_rules(); 1832 if ( $hard &&function_exists('iis7_save_url_rewrite_rules') )1831 if ( function_exists('iis7_save_url_rewrite_rules') ) 1833 1832 iis7_save_url_rewrite_rules(); 1834 1833 }
Note: See TracChangeset
for help on using the changeset viewer.