WordPress.org

Make WordPress Core

Ticket #2000: options-permalink.diff

File options-permalink.diff, 1.3 KB (added by h3h, 16 years ago)

Patch-1.0

  • wp-admin/options-permalink.php

     
    163163    </p>
    164164  </form>
    165165<?php if ( $permalink_structure && !$usingpi && !$writable ) : ?>
    166   <p><?php _e('If your <code>.htaccess</code> was <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a> we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
     166  <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
    167167<form action="options-permalink.php" method="post">
    168168   <p>
    169169<textarea rows="5" style="width: 98%;" name="rules"><?php echo $wp_rewrite->mod_rewrite_rules(); ?>
     
    174174
    175175</div>
    176176
    177 <?php require('./admin-footer.php'); ?>
    178  No newline at end of file
     177<?php require('./admin-footer.php'); ?>