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:
markjaquith 2007-08-08 04:10:20 +00:00
parent 5c83a39e33
commit 773e23d2e6
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; ?>