widgets from an older version, auto upgrade issues
-
Hi. Back before v2.0, I tried adding sidebar widgets. I wrote a couple of simple ones. (I lifted my widget template code from a published sample, and I think I updated all the necessary fields — but I may have missed something.) I may have missed some steps during upgrades along the way because they still work on the sidebar, but have funky behavior under the management panel under v2.6.
My widgets show up in the Plugins Management panel (is this to be expected?). Strangely, they appear to offer a newer version available (“Download version 1.2.1.20070210b here or upgrade automatically.”) But I haven’t released any newer version. If I try the automatic upgrade, it appears to work in the log, but it actually deletes my widgets and doesn’t replace them.
My widgets are located here:
…/wp-contents/plugins/widgets/MyWidget.phpThat puts them next to the widgets.php file from WP. At some point, I also picked up sub-directories for a couple of themes (in the widgets directory). Should the widget PHP files reside in the appropriate theme subfolders, or in the widget folder, or is there a better (newer) way to handle sidebar widget functionality?
Thanks,
Jbenni
- The topic ‘widgets from an older version, auto upgrade issues’ is closed to new replies.