Home » Labs » How to Remove l10n.js from WordPress  

How to Remove l10n.js from WordPress


Filed under Labs

L10n.js is used to convert the html entetities into actual value in WordPress (reffer convertEntities() function).Any way you are sure that your site is not using such html entetities you can remove it from WP header. For removing L10n.js from WordPress head simple use wp_deregister_script in theme.

usage
Add the following to your theme’s functions.php file.

wp_deregister_script('l10n');

Posts you may like: