[wp-trac] [WordPress Trac] #36217: WP_Post_Type class
WordPress Trac
noreply at wordpress.org
Mon Jul 18 22:51:40 UTC 2016
#36217: WP_Post_Type class
--------------------------------------+-------------------------
Reporter: swissspidy | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"38097"]:
{{{
#!CommitTicketReference repository="" revision="38097"
Docs: Correct type of `WP_Post_Type::$cap` from `array` to `object`.
Fixes typo introduced in r37890. The `WP_Post_Type::$cap` property is set
to the return value of `get_post_type_capabilities()` which is an
`object`.
See #36217.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36217#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list