[wp-trac] [WordPress Trac] #31134: register_post_type() should call a _doing_it_wrong() when called with an empty post type name
WordPress Trac
noreply at wordpress.org
Fri Feb 13 23:33:58 UTC 2015
#31134: register_post_type() should call a _doing_it_wrong() when called with an
empty post type name
-------------------------------+-----------------------------
Reporter: tyxla | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Posts, Post Types | Version: 3.0
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses:
-------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"31457"]:
{{{
#!CommitTicketReference repository="" revision="31457"
Use more descriptive names for `register_post_type()` and
`register_taxonomy()` tests with too long and too short names.
see #31134, #31135.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31134#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list