[wp-trac] [WordPress Trac] #45101: Add additional default labels to get_post_type_labels()

WordPress Trac noreply at wordpress.org
Wed Oct 17 20:11:53 UTC 2018


#45101: Add additional default labels to get_post_type_labels()
----------------------------------------+-----------------------
 Reporter:  earnjam                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.0
Component:  Posts, Post Types           |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  rest-api
----------------------------------------+-----------------------
Changes (by earnjam):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch


Comment:

 [attachment:"45101.diff"] has the new labels, but no tests.

 @swissspidy What are your thoughts on tests for these? I didn't see any
 coverage for the other individual labels. Trunk has
 `getPostTypeLabels.php`, but that's not in 5.0.

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


More information about the wp-trac mailing list