[wp-trac] [WordPress Trac] #61911: Incorrect schema for global styles REST API endpoint

WordPress Trac noreply at wordpress.org
Thu Aug 22 16:59:58 UTC 2024


#61911: Incorrect schema for global styles REST API endpoint
-------------------------------+----------------------------------------
 Reporter:  johnbillion        |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  6.7
Component:  Posts, Post Types  |    Version:  5.9
 Severity:  normal             |   Keywords:  needs-patch good-first-bug
  Focuses:  rest-api           |
-------------------------------+----------------------------------------
 The schema for the `wp/v2/global-styles/{id}` REST API endpoint declares
 the `id` property as a string, but it is in fact an integer containing the
 post ID for the global style.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61911>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list