WordPress 3.0 Widget Bugs – Widgets Not Saving

Home » WordPress » WordPress 3.0 Widget Bugs – Widgets Not Saving
posted in WordPress
by

WordPress 3.0 Widget Bugs – Widgets Not Saving

Now that WordPress 3.0 has been out for a couple of months I have had the chance to use it on a couple of new websites. And I have to say, so far the experience has been pretty impressive. However, there seem to be some odd bugs in the widget system.

The bug presents itself when you try to add new widget areas to the site. At first everything seems to be working correctly and you see the widget areas listed in your WordPress admin, but none of the changes will save. No matter what, some of the widgets areas won’t save the widgets or options.

After a couple of hours of pulling out my hair trying to figure out why some of my widgets were working correctly and some were not I finally found the answer… For some reason WordPress 3.0 will not accept capital letters in the widget area IDs!

If you use IDs like “bannerOne” or “headerArea” your Widget Areas will appear to be working in the WordPress admin panel, but none of the widgets you add will actually save state. To get around this, you must convert all of your Widget IDs in the functions.php file to lowercase names and you may also need update your template if you call the Widget Areas by ID.

12 Comments On This Topic
  1. Richard posted
    September 27, 2010 at 1:43 pm

    nice! never crossed my mind to test that one…

  2. Pepe posted
    December 23, 2010 at 1:04 pm

    You are right, setting ID to lowercase solve the trouble. Thank you very much! you save me!

  3. Darryl The Claw posted
    August 23, 2011 at 6:54 am

    That was exactly it – thanks!

  4. mikedauz posted
    December 9, 2011 at 1:31 am

    lowercase in the ID. i was screaming at the monitor. Thanks a lot for this.

  5. Guest posted
    December 22, 2011 at 3:37 am

    Not sure which file.  Do you mean wp-content/themes/name/functions.php?

  6. Bobby posted
    February 20, 2012 at 10:35 am

    You are a god.  Thank you.  Several hours wasted on this bug, and you solved it.

  7. JP Armstrong posted
    March 30, 2012 at 8:31 am

    Thank you!!

  8. Anyone posted
    May 14, 2012 at 2:11 pm

    saved me alot of time thanx :)

  9. Chris Janus posted
    May 28, 2012 at 12:04 pm

    dude! i was soon to freak out trying to figure out why this was happening no matter what i did. saved me a huge headache – thanks so much for sharing this!

  10. urgan posted
    May 30, 2012 at 8:17 am

    THANK YOU thank you 1000 times thank you. That has to be the stupidest rule ever.

  11. T-shirt Exports India. posted
    July 25, 2012 at 2:04 am

    Nice informative site and a good post,thanks for the share.

  12. Pavel posted
    September 27, 2012 at 3:19 am

    Kudos! You saved me hours searching for the bug.


Leave a Reply

Connect with:

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>