[wp-trac] [WordPress Trac] #39023: show_in_rest property missing from the register_post_type() and register_taxonomy() args docblocks

WordPress Trac noreply at wordpress.org
Fri Dec 2 08:13:37 UTC 2016


#39023: show_in_rest property missing from the register_post_type() and
register_taxonomy() args docblocks
----------------------------------+-----------------------------
 Reporter:  johnbillion           |       Owner:
     Type:  task (blessed)        |      Status:  new
 Priority:  normal                |   Milestone:  4.7
Component:  REST API              |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  needs-docs has-patch  |     Focuses:  docs, rest-api
----------------------------------+-----------------------------

Comment (by rahulsprajapati):

 @johnbillion
 There are 'rest_base', and 'rest_controller_class' arguments also missing
 from arg docblock.
 I've added in
 [https://core.trac.wordpress.org/attachment/ticket/39023/39023.2.patch
 39023.2].

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


More information about the wp-trac mailing list