WordPress.org

Make WordPress Core

#44807 closed defect (bug) (duplicate)

Undefined property: stdClass::$delete_posts on custom post type

Reported by: papazetis Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.8
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

Hi.

I created a custom post type with
map_meta_cap=false
and I got this php notice
Undefined property: stdClass::$delete_posts on wp-admin/includes/class-wp-posts-list-table.php:400 when I click on this post type.

Change History (1)

#1 @SergeyBiryukov
12 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @papazetis, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #30991.

Note: See TracTickets for help on using tickets.