Make WordPress Core


Ignore:
Timestamp:
09/16/2013 09:59:27 PM (11 years ago)
Author:
nacin
Message:

Add documentation for the new flush_rewrite_rules_hard filter. fixes #23491.

File:
1 edited

Legend:

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

    r25328 r25464  
    18941894        delete_option('rewrite_rules');
    18951895        $this->wp_rewrite_rules();
     1896        /**
     1897         * Filter whether a "hard" rewrite rule flush should be performed when requested.
     1898         *
     1899         * A "hard" flush updates .htaccess (Apache) or web.config (IIS).
     1900         *
     1901         * @since 3.7.0
     1902         * @param bool $hard Defaults to true.
     1903         */
    18961904        if ( ! $hard || ! apply_filters( 'flush_rewrite_rules_hard', true ) )
    18971905            return;
Note: See TracChangeset for help on using the changeset viewer.