[wp-trac] [WordPress Trac] #31199: Potential reference to unset variable in get_bulk_actions (WP_Posts_List_Table)

WordPress Trac noreply at wordpress.org
Sun Dec 9 20:51:02 UTC 2018


#31199: Potential reference to unset variable in get_bulk_actions
(WP_Posts_List_Table)
----------------------------+------------------------
 Reporter:  sgrant          |       Owner:  chriscct7
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  5.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------
Changes (by chriscct7):

 * keywords:  has-patch reporter-feedback => has-patch
 * owner:  (none) => chriscct7
 * status:  new => accepted
 * milestone:  Awaiting Review => 5.1


Comment:

 Updated patch with additional checks for edit_posts cap as well as empty
 post_type_obj variable.

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


More information about the wp-trac mailing list