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

WordPress Trac noreply at wordpress.org
Wed Sep 16 16:37:49 UTC 2015


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

Comment (by DrewAPicture):

 I think it's worth considering whether built-ins and custom content types
 are really even on the same playing field. I'd argue they aren't, and
 that's why not allowing their args to be filterable ''at all'' makes the
 most sense.

 Users, developers, and core alike all expect the built-in post types to
 work in very specific, defined ways, and opening those behaviors for
 interpretation is likely to lead to unexpected consequences in all kinds
 of contexts. Realistically, the fact that there is even a `_builtin`
 argument in the first place should be an indication that core treats them
 differently for good reason. I don't think that's a significance that
 should be ignored.

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


More information about the wp-trac mailing list