The second beta of WordPress 3.1 has been released for your testing enjoyment.
As before, you should probably avoid using this on a live site, and make sure to backup your files and database before upgrading.
There are still a few known issues, but if you find any more, please feel free to discuss them with the wp-testers mailing list.
If you’re a plugin or theme developer, please test them for compatibility, as the final release of 3.1 is not too far away.
Have you tried the WordPress 3.1 Beta yet? What do you think so far?
I’m trying the new beta on a test site and it is adding a l10n.js to every page on the site. Any idea what it does? If it’s necessary? How to remove it possibly?
I just get annoyed when random stuff gets thrown into wp_head. I use remove actions for things I don’t need, but don’t see any mention of this in the codex.
Any help would be appreciated. Thanks!
That’s the base javascript to allow for included javascript code in WordPress to be localized. l10n = localization.
Otto, If I’m not using any localization code, do I still need it? Just another request for each visitor.
I noticed WP generating localization code for the Admin Bar, but that’s only for Admins. Why does it need to load for regular visitors?
P.S. I started this thread on StackExchange for WP: http://wordpress.stackexchange.....-remove-it
Yes! Yes, you do, because English is just another localization. š
If you want to be more specific about it, it will only local when the localize script stuff is triggered, which is actually is, often. Admin bar triggers it, comment reply triggers it, etc. But it is smart enough to not load when it’s not needed. So may advice: ignore it. It’s tiny anyway.