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

WordPress Trac noreply at wordpress.org
Mon Oct 2 18:39:33 UTC 2017


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41678"]:
 {{{
 #!CommitTicketReference repository="" revision="41678"
 WP-API JS Client: Improve support for meta.

 * Add/fix `getMeta`, `getMetas`, `setMeta` and `setMetas` helpers for
 models that support meta.
 * Add tests for new helpers, verify meta support for `Posts`, `Comments`,
 `Tags` and `Users`.
 * Include meta data in fixture generation and fixture file driving tests.

 Fixes #41055.
 }}}

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


More information about the wp-trac mailing list