[wp-trac] [WordPress Trac] #55445: Should WP_Post_Type preserve Array of capability_type?
WordPress Trac
noreply at wordpress.org
Wed Mar 23 03:57:40 UTC 2022
#55445: Should WP_Post_Type preserve Array of capability_type?
-------------------------------+-----------------------------
Reporter: Howdy_McGee | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: minor | Keywords:
Focuses: |
-------------------------------+-----------------------------
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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55445>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list