Opened 18 years ago
Closed 17 years ago
#8979 closed defect (bug) (invalid)
widget disappears after clicking save changes
| Reported by: | robfelty | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | 2.7 |
| Severity: | minor | Keywords: | reporter-feedback 2nd-opinion |
| Cc: | Focuses: |
Description
Using wordpress 2.7, revision 10186, there is a possible bug in the widget handling. I noticed this for all 4 of the plugins I have written. They worked fine in WP 2.6, but in WP 2.7, when adding a widget, it would disappear from the widget list after saving changes. Eventually I found the problem to be that the id_base cannot be mixed case. At least, changing from mixed case to all lowercase solved the problem for my plugins. But I don't see why that the id_base should have to be all lower case. It seems like WP allows mixed case in most other situations. I have more details about the problem and my experiences on my blog:
http://blog.robfelty.com/2009/01/06/the-right-3-bytes-or-wordpress-plugin-bugs-solved/
I had users of my plugins report this issue in all major browsers. I suspect that the issue is somewhere in the wp_register_sidebar_widget function or the wp_register_widget_control function.
Thanks for all your great work on wordpress!
Rob
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I can confirm this, not only does it happen on clicking save, but it also happens if you just happen to click on a widget in the center. luckily, if you don't hit have changes and refresh the screen, it will usually still be there.