mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@48713 git-svn-id: http://core.svn.wordpress.org/trunk@48475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a76cb6240
commit
8ff7595ae9
@ -160,7 +160,7 @@ $using_index_permalinks = $wp_rewrite->using_index_permalinks();
|
|||||||
if ( $structure_updated ) {
|
if ( $structure_updated ) {
|
||||||
$message = __( 'Permalink structure updated.' );
|
$message = __( 'Permalink structure updated.' );
|
||||||
|
|
||||||
if ( $permalink_structure && ! $using_index_permalinks ) {
|
if ( ! is_multisite() && $permalink_structure && ! $using_index_permalinks ) {
|
||||||
if ( $iis7_permalinks ) {
|
if ( $iis7_permalinks ) {
|
||||||
if ( ! $writable ) {
|
if ( ! $writable ) {
|
||||||
$message = sprintf(
|
$message = sprintf(
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48712';
|
$wp_version = '5.6-alpha-48713';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user