[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
Thu Jan 7 21:18:20 UTC 2021


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

Comment (by johnbillion):

 This all looks good @alexstine, just two points:

 * The filter needs a better name. Probably something along the lines of
 `show_post_checkbox`?
 * Let's pass the `$post` object to the filter for additional context

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


More information about the wp-trac mailing list