Opened 14 months ago

Last modified 4 months ago

#20288 new enhancement

Missing bottom border for bulk-actions checkbox th in wp-posts-list-table if current user can't "edit_post". — at Version 2

Reported by: szaqal21 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version: 3.3.1
Severity: normal Keywords: has-patch reporter-feedback ui-focus
Cc:

Description (last modified by helenyhou)

If current user can't "edit_post" the bulk-actions checkbox isn't present but also the bottom border for th in wp-posts-list-table.

I think it can be fixed by modifying line 495 in class-wp-posts-list-table.php like so:

<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>

Change History (4)

  • Keywords has-patch added; needs-patch removed
  • Description modified (diff)
  • Keywords needs-patch added; has-patch removed

Patches should be made and attached as a unified diff created from root. Helpful links:

Mark Jaquith's Unix WordPress Toolbox

Peter Westwood's Windows WordPress Toolbox

Note: See TracTickets for help on using tickets.