[wp-trac] [WordPress Trac] #42785: Change default of `show_in_rest` in register_post_type and register_taxonomy

WordPress Trac noreply at wordpress.org
Mon Mar 19 04:35:37 UTC 2018


#42785: Change default of `show_in_rest` in register_post_type and
register_taxonomy
-------------------------------------------------+-------------------------
 Reporter:  joehoyle                             |       Owner:  pento
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.9.5
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by pento):

 In [attachment:42785.4.diff]:

 * Re-add the logic to taxonomies.
 * Tweaked the meta show logic.
 * Added more tests.

 TODO:
 * There's still a bug in the meta show logic, the
 `test_get_registered_underscore_dont_show_logged_in` test is failing.
 * More tests.

 I'm about to board a long flight, I'd appreciate if someone could take
 over this ticket to get it ready before 4.9.5b1.

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


More information about the wp-trac mailing list