[wp-trac] [WordPress Trac] #42117: Move inline docs from register_post_type() to WP_Post_Type::set_props()

WordPress Trac noreply at wordpress.org
Thu Oct 5 19:56:49 UTC 2017


#42117: Move inline docs from register_post_type() to WP_Post_Type::set_props()
-------------------------------+-----------------------------
 Reporter:  birgire            |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.6
 Severity:  normal             |   Keywords:
  Focuses:  docs               |
-------------------------------+-----------------------------
 The function {{{register_post_type()}}} is a wrapper for a
 {{{WP_Post_Type}}} object, since version 4.6.

 The method {{{WP_Post_Type::set_props()}}} is missing the detailed
 documentation for each argument, that is present for
 {{{register_post_type()}}}.

 So to avoid duplication, it looks like we should move it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list