Removing l10n.js

Anyone who has upgraded to WordPress 3.1 probably notices a new javascript being auto-loaded on their sites. It’s a very simple script that replaces htmlenities with the actual characters they represent.

Since I don’t need this function, and I’d rather not have one additional content to load on my page I wanted to remove this. It’s actually pretty easy to do.

Simply add the following to your theme’s functions.php file.


If you are using any form of caching, you may need to clear it in order for the change to take effect.

Comments are closed.