Ticket #37064: class-wp-posts-list-table.php.patch
File class-wp-posts-list-table.php.patch, 643 bytes (added by , 9 years ago) |
---|
-
class-wp-posts-list-table.php
799 799 * @param WP_Post $post The current WP_Post object. 800 800 */ 801 801 public function column_cb( $post ) { 802 if ( current_user_can( 'edit_post', $post->ID ) ): ?>802 if ( current_user_can( 'edit_post', $post->ID ) || current_user_can( 'delete_post', $post->ID ) ): ?> 803 803 <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php 804 804 printf( __( 'Select %s' ), _draft_or_post_title() ); 805 805 ?></label>