231
231
wp_die( __( 'The item you are trying to restore from the Trash no longer exists.' ) );
233
233
if ( ! $post_type_object )
236
236
if ( ! current_user_can( 'delete_post', $post_id ) )
237
237
wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) );