Don't tell users they have to update their .htaccess unless we're actually giving them something with which to update it. fixes #4706
git-svn-id: http://svn.automattic.com/wordpress/trunk@5854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c83a39e33
commit
773e23d2e6
|
@ -101,10 +101,10 @@ $wp_rewrite->flush_rules();
|
|||
|
||||
<?php if (isset($_POST['submit'])) : ?>
|
||||
<div id="message" class="updated fade"><p><?php
|
||||
if ($writable)
|
||||
_e('Permalink structure updated.');
|
||||
else
|
||||
if ( $permalink_structure && !$usingpi && !$writable )
|
||||
_e('You should update your .htaccess now.');
|
||||
else
|
||||
_e('Permalink structure updated.');
|
||||
?></p></div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue