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

WordPress Trac noreply at wordpress.org
Sun Jul 10 12:38:02 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 swissspidy):

 Looks like the docblock for the `$labels` property is wrong.
 `get_post_type_labels()` returns an object, not an array.

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


More information about the wp-trac mailing list