[wp-trac] Re: [WordPress Trac] #9703: widget save procedure is inconsistent with js on and off

WordPress Trac wp-trac at lists.automattic.com
Sat May 2 16:03:11 GMT 2009


#9703: widget save procedure is inconsistent with js on and off
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.8
Component:  Widgets            |     Version:  2.8
 Severity:  major              |    Keywords:     
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 further investigation leads me to the $.map() call in wpWidgets.save. It
 destroys the array, as revealed by:

 {{{
                 $.map(data, function(n,i){
                         if ( n.name.match(/\[\]$/) )
                                 alert(n.name);
                         a[n.name] = n.value;
                 });
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9703#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list