Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r11579 r11450  
    18231823     * @since 2.0.1
    18241824     * @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() {
    18281827        delete_transient('rewrite_rules');
    18291828        $this->wp_rewrite_rules();
    1830         if ( $hard && function_exists('save_mod_rewrite_rules') )
     1829        if ( function_exists('save_mod_rewrite_rules') )
    18311830            save_mod_rewrite_rules();
    1832         if ( $hard && function_exists('iis7_save_url_rewrite_rules') )
     1831        if ( function_exists('iis7_save_url_rewrite_rules') )
    18331832            iis7_save_url_rewrite_rules();
    18341833    }
Note: See TracChangeset for help on using the changeset viewer.