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

WordPress Trac noreply at wordpress.org
Fri Jun 16 12:02:04 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                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  javascript, rest-
                                        |  api
----------------------------------------+----------------------------------
Changes (by adamsilverstein):

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


Comment:

 In [attachment:41055.diff] :

 Improve support for and detection of meta. `wp.api.models.Post`, `User`,
 `Comment` and other models supporting meta now include helpers for
 `getMeta()` and `setMeta()`.

 Some unit tests verifying at a minimum that the helpers are attached would
 be helpful.

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


More information about the wp-trac mailing list