[wp-trac] [WordPress Trac] #52877: The Widget's Callback Array Stores Wrong Values

WordPress Trac noreply at wordpress.org
Mon Dec 5 07:12:37 UTC 2022


#52877: The Widget's Callback Array Stores Wrong Values
----------------------------------------+------------------------------
 Reporter:  oxibug                      |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Widgets                     |     Version:  5.7
 Severity:  major                       |  Resolution:
 Keywords:  needs-patch has-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by turrdpress):

 I also see this same issue. Widget is called something like 'widget-1234'
 and the callback shows 'widget-137'. I suspect the callback parameter is
 being passed by reference inside of a loop.

 Version: WordPress 6.1.1
 OS: Nginx

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


More information about the wp-trac mailing list