[wp-trac] [WordPress Trac] #29789: UX bug: Bulk Actions Selectbox is displayed even when user can't edit or trash anything
WordPress Trac
noreply at wordpress.org
Mon Sep 29 12:12:41 UTC 2014
#29789: UX bug: Bulk Actions Selectbox is displayed even when user can't edit or
trash anything
--------------------------------------------+-----------------------------
Reporter: psoluch | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: ui, javascript, administration |
--------------------------------------------+-----------------------------
'''What steps should be taken to consistently reproduce the problem?'''
1. Log in as author or contributor
2. Go to the posts page in wp-admin
'''Problem?'''
The user can't edit or trash anything, yet the bulk actions select box and
check-all-checkboxes are displayed. This is confusing for users.
'''Solution'''
The users might be able to edit or trash posts created by himself so
checking for capabilities is not enough. When the bulk edit selectbox is
displayed it's not yet known if the user can edit or trash something so
it's easier to use javascript to hide the unwanted elements.
Patch will follow below (not sure if the function is in the right place)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29789>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list