mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 23:25:50 +01:00
Ensure XHTML validity when presenting mod_rewrite rules for copy-paste. Props JeremyVisser. fixes #3523
git-svn-id: http://svn.automattic.com/wordpress/trunk@4681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
37b522d016
commit
e69c2bc3ae
@ -169,7 +169,7 @@ checked="checked"
|
||||
<form action="options-permalink.php" method="post">
|
||||
<?php wp_nonce_field('update-permalink') ?>
|
||||
<p>
|
||||
<textarea rows="5" style="width: 98%;" name="rules"><?php echo $wp_rewrite->mod_rewrite_rules(); ?>
|
||||
<textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?>
|
||||
</textarea>
|
||||
</p>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user