Make WordPress Core

Changeset 48713


Ignore:
Timestamp:
08/02/2020 12:55:56 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-permalink.php

    r48712 r48713  
    161161    $message = __( 'Permalink structure updated.' );
    162162
    163     if ( $permalink_structure && ! $using_index_permalinks ) {
     163    if ( ! is_multisite() && $permalink_structure && ! $using_index_permalinks ) {
    164164        if ( $iis7_permalinks ) {
    165165            if ( ! $writable ) {
Note: See TracChangeset for help on using the changeset viewer.