Do not load JavaScript files when not logged in
-
CK Editor loads all JavaScript files even when the visitor is not logged in.
As those files are very big (>150KByte) page load time increases drastically.
I commented this line out in the plugin PHP:
//No need to load ckeditor javascripts when not logged in
//add_action( ‘wp_print_scripts’, array(&$ckeditor_wordpress, ‘add_comment_js’));There was no effect on editing content for logged in users.
Is there any need to load the javascript files for visitors?
Thanks
Tobias
- The topic ‘Do not load JavaScript files when not logged in’ is closed to new replies.