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:
parent
b79a8c6194
commit
a5cb12dce1
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user