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

WordPress Trac noreply at wordpress.org
Tue Sep 26 13:18:48 UTC 2017


#41055: WP-API JS Client: Improve support for meta
---------------------------------------------+-----------------------------
 Reporter:  adamsilverstein                  |       Owner:
     Type:  enhancement                      |  adamsilverstein
 Priority:  normal                           |      Status:  assigned
Component:  General                          |   Milestone:  4.9
 Severity:  normal                           |     Version:  4.7
 Keywords:  has-patch has-unit-tests commit  |  Resolution:
                                             |     Focuses:  javascript,
                                             |  rest-api
---------------------------------------------+-----------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests commit


Comment:

 In [attachment:41055.2.diff]:
 REST API JS Client - improve support for meta.
 * Add `getMeta`, `getMetas`, `setMeta`, `setMetas` helpers for models that
 contain meta.
 * Add tests for new helpers.
 * Include meta data in fixture generation and fixture file driving tests.

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


More information about the wp-trac mailing list