diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 9f0cc32b99..1092d80096 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1359,11 +1359,11 @@ function _post_row($a_post, $pending_comments, $mode) { } if ( current_user_can($post_type_object->delete_cap, $post->ID) ) { if ( 'trash' == $post->post_status ) - $actions['untrash'] = "ID) . "'>" . __('Restore') . ""; + $actions['untrash'] = "ID) ), 'untrash-' . $post->post_type . '_' . $post->ID ) . "'>" . __('Restore') . ""; elseif ( EMPTY_TRASH_DAYS ) $actions['trash'] = "" . __('Trash') . ""; if ( 'trash' == $post->post_status || !EMPTY_TRASH_DAYS ) - $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; + $actions['delete'] = "ID) ), 'delete-' . $post->post_type . '_' . $post->ID ) . "'>" . __('Delete Permanently') . ""; } if ( in_array($post->post_status, array('pending', 'draft')) ) { if ( current_user_can($post_type_object->edit_cap, $post->ID) )