[wp-trac] [WordPress Trac] #29789: Bulk Actions Selectbox is displayed even when user can't edit or trash anything
WordPress Trac
noreply at wordpress.org
Mon Aug 24 19:40:41 UTC 2015
#29789: Bulk Actions Selectbox is displayed even when user can't edit or trash
anything
-----------------------------------+---------------------------------
Reporter: psoluch | Owner: wonderboymusic
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch ux-feedback | Focuses: ui, administration
-----------------------------------+---------------------------------
Comment (by DeBAAT):
I still have problems testing something different than intended.
As far as I know, the test should be on whether the user has some
capabilities or not. If a certain post is restricted for that particular
capability, it should be the responsibility of that post to prevent
unauthorized actions.
In the meantime, I figured out how to make a diff, so I created my diff
suggestion against the current development version (4.4-alpha-33717).
See file 29789.fix3.diff.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29789#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list