mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
91d7e604f2
commit
d3100d05cb
@ -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