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

WordPress Trac noreply at wordpress.org
Wed Sep 16 19:57:56 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 GregLone):

 Replying to [comment:46 wonderboymusic]:
 > What other things to do you want to change, specifically? If your use
 cases are vague, then they aren't an emergency.
 Change rewrite parameters before generating the rewrite rules. Example: a
 multilingual plugin.

 > This isn't a "professional" vs "amateur" argument.
 By bypassing built-in post types it kind of becomes one, because we're
 simply assuming that developers will necessarily explode everything. Yes,
 some of us will do things we shouldn't (that's where you should talk about
 html tags in shortcode arguments ^^), but is that a reason enough to limit
 all developers?

 So, +1 on removing this built-in limitation.

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


More information about the wp-trac mailing list