Document %category% and %author% in the permalink options.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-08-14 17:36:32 +00:00
parent 3f7ac3eb4d
commit f3c3e4b218
1 changed files with 9 additions and 1 deletions

View File

@ -96,6 +96,14 @@ if (isset($_POST['submit'])) {
<dd>
<?php _e('The unique ID # of the post, for example <code>423</code>') ?>
</dd>
<dt><code>%category%</code></dt>
<dd>
<?php _e('A sanitized version of the category name.') ?>
</dd>
<dt><code>%author%</code></dt>
<dd>
<?php _e('A sanitized version of the author name.') ?>
</dd>
</dl>
<?php _e('<p>So for example a value like:</p>
@ -123,7 +131,7 @@ if (isset($_POST['submit'])) {
?>
<p><?php printf(__('Using the permalink structure value you currently have, <code>%s</code>, 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.'), $permalink_structure) ?></p>
<form action="options-permalink.php" method="post">
<p>
<p>
<textarea rows="5" style="width: 98%;" name="rules"><?php echo mod_rewrite_rules($permalink_structure); ?>
</textarea>
</p>