[wp-hackers] Script concatenation and dependencies

Jason Penney jpenney at jczorkmid.net
Sat Jun 13 21:31:47 GMT 2009


Hi,

I received few reports of my "Use Google Libraries" plugin v1.0.5
causing issues with the 2.8 admin, and it seems to be related to the
script concatenation and how it is interacting with dependencies.
Basically scripts that are eligible for concatenation, but rely on a
dependency that is not can load in the wrong order.

I added an 'init' hook that sets $concatenate_scripts to false, and that
seems to have gotten around it for now, but I didn't know if this would
be considered a bug or not.

Jay


-- 
Jason C Penney (jpenney at jczorkmid.net)
http://jasonpenney.net/


More information about the wp-hackers mailing list