mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
4ee5c8aefc
commit
0effeb2048
@ -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 »') ?>" /></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user