Rewrite: Remove extra arguments being passed to `WP_Rewrite::iis7_url_rewrite_rules()`.
Props rafsuntaskin. Fixes #44185. Built from https://develop.svn.wordpress.org/trunk@44619 git-svn-id: http://core.svn.wordpress.org/trunk@44450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0bbb277ee4
commit
8c702e04f3
|
@ -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
|
// 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 ) ) ) {
|
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 ) ) {
|
if ( ! empty( $rule ) ) {
|
||||||
return iis7_add_rewrite_rule( $web_config_file, $rule );
|
return iis7_add_rewrite_rule( $web_config_file, $rule );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-beta1-44618';
|
$wp_version = '5.1-beta1-44619';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue