Skip to content

Commit 922e03c

Browse files
author
pento
committed
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
1 parent d5c4817 commit 922e03c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wp-admin/includes/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function iis7_save_url_rewrite_rules() {
252252

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 );
258258
} else {

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @global string $wp_version
1515
*/
16-
$wp_version = '5.1-beta1-44618';
16+
$wp_version = '5.1-beta1-44619';
1717

1818
/**
1919
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)