[wp-trac] [WordPress Trac] #20175: "Trash" should not be a bulk action when user can't delete a post at all

WordPress Trac noreply at wordpress.org
Tue Sep 23 02:57:45 UTC 2014


#20175: "Trash" should not be a bulk action when user can't delete a post at all
-------------------------------+-----------------------------
 Reporter:  markoheijnen       |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.1
Component:  Posts, Post Types  |     Version:  3.3.1
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29757"]:
 {{{
 #!CommitTicketReference repository="" revision="29757"
 If the current user does not have the `delete_posts` cap on the current
 post type, don't list `delete` or `trash` as bulk actions for the relevant
 context of Post list table.

 Props mvd7793.
 Fixes #20175.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20175#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list