[wp-trac] [WordPress Trac] #49644: Move logic from register_post_type() into WP_Post_Type->register()

WordPress Trac noreply at wordpress.org
Sat Mar 14 20:06:39 UTC 2020


#49644: Move logic from register_post_type() into WP_Post_Type->register()
------------------------------------+------------------------------
 Reporter:  MikeSchinkel            |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Posts, Post Types       |     Version:  5.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by MikeSchinkel):

 * Attachment "49644-2.patch" added.

 Updates to fix the oversight in the 2nd patch which ends up not returning
 the correct values from register_post_type() and unregister_post_type().

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49644>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list