switching to htmlspecialchars fixes category description problem with double-bytes encodings ( http://wordpress.org/support/6/5555 )

git-svn-id: http://svn.automattic.com/wordpress/trunk@1306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-05-18 15:24:23 +00:00
parent 91d7e604f2
commit d3100d05cb
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ case 'edit':
</p>
<p><?php _e('Description:') ?><br />
<textarea name="category_description" rows="5" cols="50" style="width: 97%;"><?php echo htmlentities($category->category_description); ?></textarea></p>
<textarea name="category_description" rows="5" cols="50" style="width: 97%;"><?php echo htmlspecialchars($category->category_description, ENT_NOQUOTES); ?></textarea></p>
<p class="submit"><input type="submit" name="submit" value="<?php _e('Edit category &raquo;') ?>" /></p>
</form>
</div>