$entry['meta_id'
] =
(int) $entry['meta_id'
];
$delete_nonce =
wp_create_nonce( 'delete-meta_' .
$entry['meta_id'
] );
$r .= "\n\t<tr id='meta-{
$entry['meta_id'
]}'>";
$r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta-{
$entry['meta_id'
]}-key'>" .
/* translators: Hidden accessibility text. */
__( 'Key'
) .
"</label><input name='meta[{
$entry['meta_id'
]}][key]' id='meta-{
$entry['meta_id'
]}-key' type='text' size='20' value='{
$entry['meta_key'
]}' />";
$r .= "\n\t\t<div class='submit'>";
$r .=
get_submit_button( __( 'Delete'
), 'deletemeta small', "deletemeta[{
$entry['meta_id'
]}]", false, array
( 'data-wp-lists' => "delete:the-list:meta-{
$entry['meta_id'
]}::_ajax_nonce=
$delete_nonce"
) );
$r .= "\n\t\t";
$r .=
get_submit_button( __( 'Update'
), 'updatemeta small', "meta-{
$entry['meta_id'
]}-submit", false, array
( 'data-wp-lists' => "add:the-list:meta-{
$entry['meta_id'
]}::_ajax_nonce-add-meta=
$update_nonce"
) );
$r .= '</div>';
$r .=
wp_nonce_field( 'change-meta', '_ajax_nonce', false, false
);
$r .= '</td>';
$r .= "\n\t\t<td><label class='screen-reader-text' for='meta-{
$entry['meta_id'
]}-value'>" .
/* translators: Hidden accessibility text. */
__( 'Value'
) .
"</label><textarea name='meta[{
$entry['meta_id'
]}][value]' id='meta-{
$entry['meta_id'
]}-value' rows='2' cols='30'>{
$entry['meta_value'
]}</textarea></td>\n\t</tr>";
return $r;
}