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

WordPress Trac noreply at wordpress.org
Tue May 25 07:57:04 UTC 2021


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

Comment (by swissspidy):

 > Committing this will break Gutenberg CI because the plugin will re-
 declare classes that already exist, so let's just hold off on committing
 this until I have a Gutenberg PR ready to go that fixes that.

 Why doesn't Gutenberg have `class_exists` guards for that or use different
 class name prefix?

 Also, I feel like all the contributors to the original class in Gutenberg
 should have received props.

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


More information about the wp-trac mailing list