WordPress.org

Make WordPress Core

#49266 closed defect (bug) (duplicate)

Getting a map_meta_cap notice in WordPress Dashboard Activity

Reported by: jainnidhi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Comments Keywords:
Focuses: administration Cc:

Description

I am using WordPress 5.3.2 version and getting notice in WordPress Dashboard Activity 👇

Notice: map_meta_cap was called incorrectly. The post type shop_order is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information.

Attachments (1)

wp-dashboard-activity-notice.png (304.7 KB) - added by jainnidhi 10 months ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
10 months ago

  • Component changed from General to Comments
  • Focuses administration added
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

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

Note: See TracTickets for help on using tickets.