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

WordPress Trac noreply at wordpress.org
Fri Mar 13 17:14:20 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-1.patch" added.

 Updates the patch to include a last_error.  Also adds another $this as a
 2nd parameter to `unregistered_post_type` hook

-- 
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