[wp-trac] [WordPress Trac] #41056: WP-API JS Client: Settings is incorrectly registered as a collection

WordPress Trac noreply at wordpress.org
Mon Jul 17 03:24:55 UTC 2017


#41056: WP-API JS Client: Settings is incorrectly registered as a collection
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:
     Type:  defect (bug)                         |  adamsilverstein
 Priority:  normal                               |      Status:  assigned
Component:  General                              |   Milestone:  4.8.1
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  refresh                                        |     Focuses:
                                                 |  javascript, rest-api
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 in [attachment:41056.2.diff]
 * use `modelEndpoints` as the variable name for the endpoints that are
 models.

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


More information about the wp-trac mailing list