Skip to content

Commit

Permalink
Ensure XHTML validity when presenting mod_rewrite rules for copy-past…
Browse files Browse the repository at this point in the history
…e. Props JeremyVisser. fixes #3523

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
markjaquith committed Jan 23, 2007
1 parent 093275f commit 51703a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-admin/options-permalink.php
Expand Up @@ -168,7 +168,7 @@ function blurry() {
<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>
Expand Down

0 comments on commit 51703a7

Please sign in to comment.