[wp-trac] [WordPress Trac] #41056: WP-API JS Client: Settings is incorrectly registered as a collection
    WordPress Trac 
    noreply at wordpress.org
       
    Sat Jun 17 16:05:49 UTC 2017
    
    
  
#41056: WP-API JS Client: Settings is incorrectly registered as a collection
-----------------------------+-----------------------------------
 Reporter:  adamsilverstein  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript, rest-api
-----------------------------+-----------------------------------
Comment (by adamsilverstein):
 In [attachment:41056.diff]:
 * Correct handling for the `settings` endpoint as a model
 * Enable passing the 'words' for the regex test that differentiate between
 models and collections
 * Add me/settings to the unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41056#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list