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: https://develop.svn.wordpress.org/trunk@5854 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-08-08 04:10:20 +00:00
parent d2cc17e629
commit 59b3c1ce47
1 changed files with 3 additions and 3 deletions

View File

@ -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.');
if ( $permalink_structure && !$usingpi && !$writable )
_e('You should update your .htaccess now.');
else
_e('You should update your .htaccess now.');
_e('Permalink structure updated.');
?></p></div>
<?php endif; ?>