WordPress.org

Make WordPress Core

Ticket #4706: 4706.001.diff

File 4706.001.diff, 571 bytes (added by markjaquith, 8 years ago)

Better logic

  • wp-admin/options-permalink.php

     
    101101 
    102102<?php if (isset($_POST['submit'])) : ?> 
    103103<div id="message" class="updated fade"><p><?php 
    104 if ($writable) 
     104if ( $permalink_structure && !$usingpi && !$writable ) 
     105        _e('You should update your .htaccess now.'); 
     106else 
    105107        _e('Permalink structure updated.'); 
    106 else 
    107         _e('You should update your .htaccess now.');  
    108108?></p></div> 
    109109<?php endif; ?> 
    110110