[wp-trac] [WordPress Trac] #51291: Add filter to show post list table `column_cb` even without `edit_post` capability

WordPress Trac noreply at wordpress.org
Fri Jan 8 17:16:43 UTC 2021


#51291: Add filter to show post list table `column_cb` even without `edit_post`
capability
-------------------------------------------------+-------------------------
 Reporter:  coreyw                               |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug needs-testing has-    |     Focuses:
  patch                                          |  administration
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49950" 49950]:
 {{{
 #!CommitTicketReference repository="" revision="49950"
 Posts, Post Types: Introduce the `wp_list_table_show_post_checkbox` filter
 which allows the visibility of the bulk edit checkbox on the post list
 table to be controlled separately from the `edit_post` capability of the
 current user.

 Props coreyw, alexstine

 Fixes #51291
 }}}

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


More information about the wp-trac mailing list