Make WordPress Core

Opened 2 years ago

#55445 new defect (bug)

Should WP_Post_Type preserve Array of capability_type?

Reported by: howdy_mcgee's profile Howdy_McGee Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

If I register a post type with capability_type as an array capbility_type => array( 'singular', 'plural' ). The WP_Post_Type object only holds onto the singular capability_type. Should the object preserve the array since it has singular and plural?

Change History (0)

Note: See TracTickets for help on using tickets.