[wp-trac] [WordPress Trac] #14686: Widget Instance Form Update Bug
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 24 21:13:23 UTC 2010
#14686: Widget Instance Form Update Bug
---------------------------+------------------------------------------------
Reporter: digitalnature | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.0.1
Severity: normal | Keywords: widgets
---------------------------+------------------------------------------------
Hi.
When dragging and dropping a widget into a sidebar the widget form doesn't
get properly updated, unless you manually press the "Save" button. However
the widget instance data is saved (you can see the widget in the frontend
even if you don't press 'save').
This problem is noticeable when you're developing a widget and want to
display some widget options in the form based on the widget's location or
position. You can't do this because '''$widget->id''' or
'''$widget->number''' appear to be initialized within the form() function
only after you press Save...
I can provide the code of a test widget if necessary
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14686>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list