[wp-trac] [WordPress Trac] #48798: REST API: Expose editor-color-palette theme support in /themes endpoint

WordPress Trac noreply at wordpress.org
Mon Jan 20 10:38:20 UTC 2020


#48798: REST API: Expose editor-color-palette theme support in /themes endpoint
-------------------------+-----------------------
 Reporter:  koke         |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.4
Component:  REST API     |     Version:  5.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  rest-api
-------------------------+-----------------------

Comment (by koke):

 > We also don't support the JSON-Schema v4+ required syntax, instead we
 use the v3 boolean syntax at the moment

 @TimothyBlynJacobs I uploaded a new patch with those changes, but I'm a
 bit confused now because the schema definition says it's using v4:


 {{{
 '$schema'    => 'http://json-schema.org/draft-04/schema#'
 }}}

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


More information about the wp-trac mailing list