Rewrite: Remove extra arguments being passed to WP_Rewrite::iis7_url_rewrite_rules()
.
Props rafsuntaskin. Fixes #44185. git-svn-id: https://develop.svn.wordpress.org/trunk@44619 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
afa551294e
commit
989425c5d7
@ -252,7 +252,7 @@ function iis7_save_url_rewrite_rules() {
|
||||
|
||||
// Using win_is_writable() instead of is_writable() because of a bug in Windows PHP
|
||||
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 ) ) ) {
|
||||
$rule = $wp_rewrite->iis7_url_rewrite_rules( false, '', '' );
|
||||
$rule = $wp_rewrite->iis7_url_rewrite_rules( false );
|
||||
if ( ! empty( $rule ) ) {
|
||||
return iis7_add_rewrite_rule( $web_config_file, $rule );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user