[wp-trac] [WordPress Trac] #36217: WP_Post_Type class

WordPress Trac noreply at wordpress.org
Sun Jul 10 17:40:12 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 DrewAPicture):

 In [changeset:"38030"]:
 {{{
 #!CommitTicketReference repository="" revision="38030"
 Docs: The `$labels` property in `WP_Post_Type` is of type `object` as
 returned from `get_post_type_labels()`, not an array.

 Props swissspidy.
 See #36217.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36217#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list