Ticket #31199: patch.diff
File patch.diff, 626 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-posts-list-table.php
208 208 $actions['edit'] = __( 'Edit' ); 209 209 } 210 210 211 if ( current_user_can( $post_type_obj->cap->delete_posts ) ) {211 if ( isset( $post_type_obj->delete_posts ) && current_user_can( $post_type_obj->cap->delete_posts ) ) { 212 212 if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) { 213 213 $actions['delete'] = __( 'Delete Permanently' ); 214 214 } else {