Remove l10n.js javascript in wp 3.1+

With new versions of wordpress you may notice l10n.js within the header of your wordpress theme. I can think of many reasons to leave l10n.js localization library enabled however if you have no need for this and wish to disable it this snippet will do the job.



add_action( 'init', 'remove_l1on' );
function remove_l1on() {
if ( !is_admin() ) {

Leave a comment