Make WordPress Core

Changeset 44619


Ignore:
Timestamp:
01/16/2019 06:09:27 AM (5 years ago)
Author:
pento
Message:

Rewrite: Remove extra arguments being passed to WP_Rewrite::iis7_url_rewrite_rules().

Props rafsuntaskin.
Fixes #44185.

File:
1 edited

Legend:

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

    r44477 r44619  
    253253    // Using win_is_writable() instead of is_writable() because of a bug in Windows PHP
    254254    if ( iis7_supports_permalinks() && ( ( ! file_exists( $web_config_file ) && win_is_writable( $home_path ) && $wp_rewrite->using_mod_rewrite_permalinks() ) || win_is_writable( $web_config_file ) ) ) {
    255         $rule = $wp_rewrite->iis7_url_rewrite_rules( false, '', '' );
     255        $rule = $wp_rewrite->iis7_url_rewrite_rules( false );
    256256        if ( ! empty( $rule ) ) {
    257257            return iis7_add_rewrite_rule( $web_config_file, $rule );
Note: See TracChangeset for help on using the changeset viewer.