[wp-hackers] Finding Out What Plugins Are Inserting Into The Header

Alex Andrews awgandrews at gmail.com
Sat Sep 11 23:34:13 UTC 2010


I've already hoovered those files up, and it is far from clear where
the JS/CSS is coming from - perhaps I should be clearer - they aren't
just inserting links, but raw CSS into the header, making it very ugly
indeed.

Alex

On 12 September 2010 00:28, Benjamin Favre <benfavre at gmail.com> wrote:
> Plugins usually include CSS/JS from there own plugin directory apart for
> jQuery or other libs.
> It shouldn't be that difficult to see what's what by checking the file
> paths.
>
> Have a nice day.
> --
> Benjamin Favre
>
>
>
>
> 2010/9/12 Alex Andrews <awgandrews at gmail.com>
>
>> Hi folks,
>>
>> I'm trying to contain all my CSS and JS files into one file for
>> minification and placing on a CDN. Unfortunately, numerous plugins
>> insert there own CSS/JS in the header. However, it is rarely clear
>> which plugin inserts which into the header. Is there any way I can
>> find out? For example, by writing a short plugin which lists all the
>> filters that filter the header in order to work this out. Then I can
>> grab all the CSS/JS and then comment out where they are produced.
>>
>> Anyway to do it?
>>
>> All the best.
>>
>> Alex
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> 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