[wp-hackers] Conditinal inclusion of admin scripts
DD32
wordpress at dd32.id.au
Mon Jan 19 14:04:09 GMT 2009
IIRC $wp_scripts holds the registered scripts, Not the list of scripts
which are actually enqueued.
2009/1/20 scribu <scribu at gmail.com>:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list