[wp-trac] [WordPress Trac] #41111: WP-API JS Client: Add a helper to get model or collection by route

WordPress Trac noreply at wordpress.org
Sat Jul 29 12:14:59 UTC 2017


#41111: WP-API JS Client: Add a helper to get model or collection by route
-----------------------------+------------------------------
 Reporter:  adamsilverstein  |       Owner:  adamsilverstein
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  4.9
Component:  REST API         |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  good-first-bug   |     Focuses:  javascript
-----------------------------+------------------------------
Changes (by rcutmore):

 * keywords:  good-first-bug needs-patch needs-unit-tests => good-first-bug


Comment:

 Hi @adamsilverstein

 I added
 [https://core.trac.wordpress.org/attachment/ticket/41111/41111.diff
 41111.diff] to add these helper methods as well as the associated unit
 tests. Let me know if this is on the right track or if I'm missing
 anything. I wasn't sure exactly where the helper methods should be added.

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


More information about the wp-trac mailing list