My custom widget think it needs to be updated to version 1.2.1.20070210b
-
I’ve recently started to build a site in WP 3.0+ at work, and one of the first hurdles I needed to get over was to be able to build custom widgets that did a bunch of stuff. Luckily building a custom widget is a breeze with the new Widget API; however I have a little odd problem with the widgets I’ve built so far: For some reason WordPress seem to think that they need to be upgraded and list them under available updates. Wp wants to update them all to the same version (1.2.1.20070210b) and looking at the version description it says that the author is Automattic Inc. which I believe is the firm who made the widget plugin before it got integrated into WP itself. So for some reason, when I create a widget like the example in the widget API section I get some sort of reference to the Automattic plugin which prompts me to update my plugin/widget (which’ll break my custom code for all i know).
Anyone seen this before and know how to solve it? It feels like I’ve made an idiot mistake somewhere but it feels like I’ve checked everywhere.
Oh and since I couldn’t find any info regarding best practices when it comes to placing my widget code anywhere, I created a
plugins/widgets
-folder where I put all my widget-code (one file per widget/class). If this is outrageous, and there’s a much smarter way, please let me know. I just thought widgets should live outside the theme folder since they’re not necessarily bundled with one theme in particular.All help and hints are appreciated!
/E
- The topic ‘My custom widget think it needs to be updated to version 1.2.1.20070210b’ is closed to new replies.