wordpress 3.4 update

Why You SHOULDN’T Upgrade To WordPress 3.4

Well it had to happen sooner or later. The WP dev team have released an update that’s broken jquery plugins everywhere and the uproar has just started.

So we’ve seen WP 3.4 released and had first reports of the Slide Out Tabs plugin breaking. We’ve fixed it – go back to your download page to get the new 1.0.2 version and you should be fine.

The fix for this looks like it just needs these lines of code modified to suit and added to your plugin if you’re a developer or brave enough to hack at these things yourself.

add_action(‘wp_head’, ‘pgst_loads_scripts’);
add_action(‘admin_head’, ‘pgst_loads_scripts’);
function pgst_loads_scripts(){


Our next steps are to check any and all of our plugins that use jquery. We would have normally done that as part and parcel of a new WP release but my regular dev is part way through a home move and it didn’t get done in his absence.

The problem has occurred it seems because the jquery library now doesn’t get called first like it always has done. Who knows why the WP dev team have done this and the likelihood is it will get changed back in 3.4.1 and my guess is that will happen quite soon.

In the meantime it looks like there could be a fairly easy fix and that just means tweaking all our plugins to add the new code that forces the jquery library to be called first. This might cause problems with other plugins so we could need to be quite careful about how we apply it.

The learning point of this story is…

Don’t be an early adopter. Let other people test any new code out first and let them feel the pain. Just because WP is “nagging” you to update to the latest version doesn’t mean you should.

By the same token, don’t let any software you use auto-update itself. Always go into the options or preferences of ANY software (including your browsers) and turn off auto-update. In 99.99% of cases it won’t make a dang difference to you day to day, but it will almost certainly save you from some pain at one point or another. Let other people report the bugs and when it looks like all is clear, you go do the update yourself.

I don’t know about you, but I can’t afford to have unscheduled losses caused by bugs in new software.

Finally, that’s one of the key reasons I like the free PortableApps so much. You can keep a backup of all your working apps just by copying the files to a backup location. If the new update breaks or you don’t like it, you can easily go back to the old version by just copying the files back. Dead easy.

And if you ever have to re-install your OS, then all your portable stuff can be up and running almost immediately.

-Frank Haywood

Posted by Frank Haywood in software, wordpress plugins, WordPress Themes