Skip to content

Commit

Permalink
Display postmeta correctly
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.0@4376 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
markjaquith committed Oct 11, 2006
1 parent a227557 commit 255648d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-admin/admin-functions.php
Expand Up @@ -848,6 +848,8 @@ function list_meta($meta) {
$style = '';
if ('_' == $entry['meta_key'] { 0 })
$style .= ' hidden';
$entry['meta_key'] = wp_specialchars( $entry['meta_key'], true );
$entry['meta_value'] = wp_specialchars( $entry['meta_value'], true );
echo "
<tr class='$style'>
<td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>
Expand Down

0 comments on commit 255648d

Please sign in to comment.