Make WordPress Core

Ticket #34776: 34776.patch

File 34776.patch, 967 bytes (added by sebastian.pisula, 9 years ago)
  • wp-includes/class-wp-rewrite.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    15271527                 * Filter the list of rewrite rules formatted for output to an .htaccess file.
    15281528                 *
    15291529                 * @since 1.5.0
     1530                 * @since 4.4.0 Introduced the `$site_root` and `$home_root` parameter.
    15301531                 *
    15311532                 * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess.
     1533                 * @param string $home_root Home root
     1534                 * @param string $site_root Site root
    15321535                 */
    1533                 $rules = apply_filters( 'mod_rewrite_rules', $rules );
     1536                $rules = apply_filters( 'mod_rewrite_rules', $rules, $home_root, $site_root );
    15341537
    15351538                /**
    15361539                 * Filter the list of rewrite rules formatted for output to an .htaccess file.