[wp-trac] [WordPress Trac] #41683: Add Widget REST API endpoint

WordPress Trac noreply at wordpress.org
Wed May 26 06:14:23 UTC 2021


#41683: Add Widget REST API endpoint
--------------------------------------+-------------------------
 Reporter:  spacedmonkey              |       Owner:  noisysocks
     Type:  feature request           |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.8
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-------------------------

Comment (by peterwilsoncc):

 In [changeset:"51029" 51029]:
 {{{
 #!CommitTicketReference repository="" revision="51029"
 REST API: Re-introduce `WP_Test_REST_Widgets_Controller` tests.

 Returns the test suite with the addition of defining a URL in the RSS
 widget within `WP_Test_REST_Widgets_Controller::test_get_items()` to work
 around an infinite loop in `WP_Widget_RSS` on PHP 8 if the URL is unset or
 empty.

 Reverts [51020].

 Props peterwilsoncc, TimothyBlynJacobs.
 See #41683.
 }}}

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


More information about the wp-trac mailing list