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
This commit is contained in:
Sergey Biryukov 2020-08-02 12:55:56 +00:00
parent b79a8c6194
commit a5cb12dce1

View File

@ -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(