[wp-trac] [WordPress Trac] #53452: [WP 5.8 beta 2] $_POST['sidebar'] is missing when saving a widget

WordPress Trac noreply at wordpress.org
Tue Jun 29 23:37:13 UTC 2021


#53452: [WP 5.8 beta 2] $_POST['sidebar'] is missing when saving a widget
-------------------------------------+-------------------------------------
 Reporter:  strategio                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.8
Component:  REST API                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  administration, rest-
  tests                              |  api
-------------------------------------+-------------------------------------

Comment (by desrosj):

 Thanks @strategio! The test looks good to me, though I'm not sure about
 where the test class actually belongs.

 It looks like we have a file in `DIR_TESTDATA` with some widgets, but
 there are only 2 and they are all tied to a specific data provider. I've
 also been trying to think of a way to refactor out the need for the class
 at all, but nothing comes to mind right now.

 @SergeyBiryukov would you happen to have any suggestions here?

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


More information about the wp-trac mailing list