post-page

WordPress 3.1 Beta 2 Released

6
responses
by
 
on
December 15th, 2010
in
WordPress, WordPress News
heading
heading
heading
6
Responses

 

Comments

  1. Sahas Katta (6 comments.) says:

    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!

    • Otto (215 comments.) says:

      That’s the base javascript to allow for included javascript code in WordPress to be localized. l10n = localization.

      • Sahas Katta (6 comments.) says:

        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

        • Otto (215 comments.) says:

          Yes! Yes, you do, because English is just another localization. :)

        • Otto (215 comments.) says:

          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.



Trackbacks/Pingbacks

  1. […] 3.1 is running just a little bit behind schedule.  The second beta was released ten days ago and more testers are needed to make sure that the final release […]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php