[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
Tue Jan 27 00:04:42 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:  reviewing
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  3.0
 Severity:  minor              |  Resolution:
 Keywords:  has-patch commit   |     Focuses:
-------------------------------+-----------------------------

Comment (by mattheweppelsheimer):

 +1 to this ticket. Looks like #28683 didn't go far enough.

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


More information about the wp-trac mailing list