suppress htaccess update message in multisite, props ocean90, fixes #12604
git-svn-id: http://svn.automattic.com/wordpress/trunk@13706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cb22e5b10a
commit
5ce50c73d9
|
@ -131,10 +131,11 @@ else
|
||||||
$usingpi = false;
|
$usingpi = false;
|
||||||
|
|
||||||
$wp_rewrite->flush_rules();
|
$wp_rewrite->flush_rules();
|
||||||
?>
|
|
||||||
|
|
||||||
<?php if (isset($_POST['submit'])) : ?>
|
|
||||||
|
if (isset($_POST['submit'])) : ?>
|
||||||
<div id="message" class="updated"><p><?php
|
<div id="message" class="updated"><p><?php
|
||||||
|
if ( ! is_multisite() ) {
|
||||||
if ( $iis7_permalinks ) {
|
if ( $iis7_permalinks ) {
|
||||||
if ( $permalink_structure && ! $usingpi && ! $writable )
|
if ( $permalink_structure && ! $usingpi && ! $writable )
|
||||||
_e('You should update your web.config now');
|
_e('You should update your web.config now');
|
||||||
|
@ -148,6 +149,9 @@ if ( $iis7_permalinks ) {
|
||||||
else
|
else
|
||||||
_e('Permalink structure updated.');
|
_e('Permalink structure updated.');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
_e('Permalink structure updated.');
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</p></div>
|
</p></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue