[wp-hackers] Conditinal inclusion of admin scripts

scribu scribu at gmail.com
Mon Jan 19 13:36:52 GMT 2009


I just did a print_r($wp_scripts) and noticed that ALL scripts used
throughout the 2.7 back-end are added on every page. For example, we have
the *media-upload* script on the Installed Plugins page etc.

Am I the only one who thinks that adding these scripts only on the pages
that actually use them would be a big time saver for admin page loads?

-- 
http://scribu.net


More information about the wp-hackers mailing list