[wp-trac] Re: [WordPress Trac] #6291: widget bug: disappearing widget

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 19 21:07:53 GMT 2008


#6291: widget bug: disappearing widget
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  defect             |       Status:  reopened 
 Priority:  normal             |    Milestone:           
Component:  Administration     |      Version:  2.5      
 Severity:  normal             |   Resolution:           
 Keywords:  needsinfo          |  
-------------------------------+--------------------------------------------
Changes (by mtekk):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 lloydbudd, I reproduced this in r7396. I achieved this using the following
 steps:

 1) Added a text widget.[[BR]]
 2) Modified the widget and committed it's change.[[BR]]
 3) Added the recent comments widget and saved the sidebar again.[[BR]]
 4) Added a second text widget, moved it from the default bottom to between
 the first text widget and the comments widget.[[BR]]
 5) Clicked the Edit button, didn't change anything, then clicked the
 Cancel button.[[BR]]
 6) Saved the sidebar.[[BR]]

 After doing this the new (blank) text widget disappears. After further
 investigation all that was needed is a previous instance of the multi
 instance widget and clicking the Edit and then Cancel button, if the Edit
 and then Cancel button are not pressed the widget is still there when you
 save.

 I guess this could be a discrepancy in the desired behavior here. I'd have
 it if you don't edit the text widget, thus leaving it blank, to have it
 removed when saving. However that isn't what always happens, and thus
 could be confusing. Though, I can see the utility of having it keep
 everything you dump in the sidebar unless you tell it to remove it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6291#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list