[wp-trac] [WordPress Trac] #42253: Adjust the inline docs for register_taxonomy() and WP_Taxonomy::set_props()

WordPress Trac noreply at wordpress.org
Thu Jan 4 14:19:20 UTC 2018


#42253: Adjust the inline docs for register_taxonomy() and WP_Taxonomy::set_props()
-------------------------+------------------------------
 Reporter:  birgire      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  docs
-------------------------+------------------------------

Comment (by stevenlinx):

 So you want the docs of `register_taxonomy()` to be more like
 `get_posts()`.

 At the present, `get_posts()` contains shortened docs (with limited
 parameters) and its full doc (with all parameters) is in
 `WP_Query::parse_query()`.

 Do you have a suggestion on what some of the parameters should be included
 in the docs of `register_taxonomy()`?

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


More information about the wp-trac mailing list