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

git-svn-id: https://develop.svn.wordpress.org/trunk@1306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-05-18 15:24:23 +00:00
parent 4ee5c8aefc
commit 0effeb2048
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>