From a5cb12dce1e812aa8ce4814cce697e611010cf55 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 2 Aug 2020 12:55:56 +0000 Subject: [PATCH] Permalinks: Don't show "You should update your `.htaccess` file now" message when saving permalink settings on Multisite. Multisite routing is taken care of by WordPress, not by the web server. Follow-up to [13706], [37747], [38066]. Props boonebgorges. Fixes #39547. git-svn-id: https://develop.svn.wordpress.org/trunk@48713 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/options-permalink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php index 88947b9110..55a0cc2304 100644 --- a/src/wp-admin/options-permalink.php +++ b/src/wp-admin/options-permalink.php @@ -160,7 +160,7 @@ $using_index_permalinks = $wp_rewrite->using_index_permalinks(); if ( $structure_updated ) { $message = __( 'Permalink structure updated.' ); - if ( $permalink_structure && ! $using_index_permalinks ) { + if ( ! is_multisite() && $permalink_structure && ! $using_index_permalinks ) { if ( $iis7_permalinks ) { if ( ! $writable ) { $message = sprintf(