Opened 5 years ago
Closed 5 years ago
#49081 closed defect (bug) (duplicate)
Undefined index
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 5.3.2 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | administration | Cc: |
Description
When on custom post list page I have this notice
Undefined property: stdClass::$delete_posts in /wp-admin/includes/class-wp-posts-list-table.php on line 416
I have custom post type 'shop' and the current user does not have 'delete_posts' capability but instead it has 'delete_shops' custom capability.
You may want to add isset check.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #30991.