[wp-trac] [WordPress Trac] #38157: Add tests for get_post_type_labels()
WordPress Trac
noreply at wordpress.org
Sat Jan 27 10:22:22 UTC 2018
#38157: Add tests for get_post_type_labels()
--------------------------------------+-------------------------
Reporter: swissspidy | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Comment (by swissspidy):
@birgire Good call! I haven't closely looked at the tests, but yes, that
should generally be avoided. I'll try to have a look at it soon. Perhaps
even by going through _all_ tests to improve this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38157#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list