[wp-trac] [WordPress Trac] #41055: WP-API JS Client: Improve support for meta

WordPress Trac noreply at wordpress.org
Thu Jun 15 08:08:43 UTC 2017


#41055: WP-API JS Client: Improve support for meta
----------------------------------+-------------------------
 Reporter:  adamsilverstein       |      Owner:
     Type:  enhancement           |     Status:  new
 Priority:  normal                |  Milestone:  4.9
Component:  General               |    Version:  4.7
 Severity:  normal                |   Keywords:  needs-patch
  Focuses:  javascript, rest-api  |
----------------------------------+-------------------------
 The wp.api JavaScript client support for meta needs some attention:

 * Meta helper isn't available for comments, terms and users
 * Meta pieces haven't been updated for the new-style meta model

 The `getMeta` helper should work correctly for all object types that
 support meta. We should also consider adding a matching `setMeta` helper.

 See https://github.com/WP-API/client-js/issues/168.

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


More information about the wp-trac mailing list