[wp-trac] [WordPress Trac] #17447: Add 'register_post_type_args' hook

WordPress Trac noreply at wordpress.org
Wed Sep 23 03:41:49 UTC 2015


#17447: Add 'register_post_type_args' hook
------------------------------------+-----------------------------
 Reporter:  mikeschinkel            |       Owner:  SergeyBiryukov
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  4.4
Component:  Posts, Post Types       |     Version:  3.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by MikeSchinkel):

 Replying to [comment:54 helen]:
 > I don't really have any more of a problem with making it available to
 built in post types than with any other dangerous thing that can be done,
 so long as people know there's no warranty (aka guarantee of back compat)
 if you go messing with that. Is that worth documenting somewhere, perhaps?

 Thanks Helen!

 > @MikeSchinkel Speaking of documentation, your patch could use an inline
 doc update. :)

 Yeah, sorry I missed that. :-(

 Replying to [comment:55 SergeyBiryukov]:
 > In [changeset:"34451"]:
 > {{{
 > #!CommitTicketReference repository="" revision="34451"
 > Make the `'register_post_type_args'` filter introduced in [34242]
 available for built-in post types too.
 >
 > Props MikeSchinkel.
 > Fixes #17447.
 > }}}

 Thanks for the commit and for fixing the comment.

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


More information about the wp-trac mailing list