Ticket #33172: 33172.patch
File 33172.patch, 565 bytes (added by , 10 years ago) |
---|
-
class-wp-posts-list-table.php
288 288 $actions['edit'] = __( 'Edit' ); 289 289 } 290 290 291 if ( current_user_can( $post_type_obj->cap->delete_posts ) ) {291 if ( isset( $post_type_obj->cap->delete_posts ) && current_user_can( $post_type_obj->cap->delete_posts ) ) { 292 292 if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) { 293 293 $actions['delete'] = __( 'Delete Permanently' ); 294 294 } else {