[wp-trac] [WordPress Trac] #20288: Missing bottom border for bulk-actions checkbox th in wp-posts-list-table if current user can't "edit_post".
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 23 10:04:20 UTC 2012
#20288: Missing bottom border for bulk-actions checkbox th in wp-posts-list-table
if current user can't "edit_post".
-------------------------+-----------------------------
Reporter: szaqal21 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: UI | Version: 3.3.1
Severity: normal | Keywords: needs-patch
-------------------------+-----------------------------
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 { ?> <?php } ?></th>
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20288>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list