WordPress.org

Make WordPress Core

Ticket #20288: 20288.patch

File 20288.patch, 666 bytes (added by SergeyBiryukov, 2 years ago)
  • wp-admin/includes/class-wp-posts-list-table.php

     
    492492 
    493493                        case 'cb': 
    494494                        ?> 
    495                         <th scope="row" class="check-column"><?php if ( $can_edit_post ) { ?><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" /><?php } ?></th> 
     495                        <th scope="row" class="check-column"><?php if ( $can_edit_post ) { ?><input type="checkbox" name="post[]" value="<?php the_ID(); ?>" /><?php } else { ?> &nbsp; <?php } ?></th> 
    496496                        <?php 
    497497                        break; 
    498498