[wp-trac] [WordPress Trac] #53303: Widget type REST API endpoint should be sorted by id

WordPress Trac noreply at wordpress.org
Thu Sep 23 20:54:11 UTC 2021


#53303: Widget type REST API endpoint should be sorted by id
--------------------------------------------+-----------------------
 Reporter:  spacedmonkey                    |       Owner:  (none)
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  5.9
Component:  REST API                        |     Version:  5.8
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:  rest-api
--------------------------------------------+-----------------------

Comment (by audrasjb):

 ''This ticket was reviewed during today's #core bug scrub.''

 FWIW, just mentioning that a comment was added in the PR @spacedmonkey :)
 > This test feels very fragile, it will require updating whenever we
 introduce or remove a new widget. Can we instead assert that the response
 is sorted?

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


More information about the wp-trac mailing list