Preserve HTML entities in Custom Fields. fixes #6374
git-svn-id: http://svn.automattic.com/wordpress/trunk@7506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f9f1f16dca
commit
cdebbffe4c
wp-admin/includes
|
@ -770,7 +770,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||
}
|
||||
|
||||
$entry['meta_key'] = attribute_escape($entry['meta_key']);
|
||||
$entry['meta_value'] = attribute_escape($entry['meta_value']);
|
||||
$entry['meta_value'] = htmlspecialchars($entry['meta_value']); // using a <textarea />
|
||||
$entry['meta_id'] = (int) $entry['meta_id'];
|
||||
|
||||
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
||||
|
|
Loading…
Reference in New Issue