Preserve HTML entities in Custom Fields. fixes #6374
git-svn-id: https://develop.svn.wordpress.org/trunk@7506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d32e5b2e7c
commit
c04bf3260a
|
@ -770,7 +770,7 @@ function _list_meta_row( $entry, &$count ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$entry['meta_key'] = attribute_escape($entry['meta_key']);
|
$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'];
|
$entry['meta_id'] = (int) $entry['meta_id'];
|
||||||
|
|
||||||
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
||||||
|
|
Loading…
Reference in New Issue