[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
Mon Jan 26 08:22:44 UTC 2015


#31134: register_post_type() should call a _doing_it_wrong() when called with an
empty post type name
-------------------------------+------------------
 Reporter:  tyxla              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  3.0
 Severity:  minor              |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------
Changes (by tyxla):

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


Comment:

 Thanks for your suggestions, they definitely make things better. Attaching
 an updated patch again.

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


More information about the wp-trac mailing list