[wp-trac] Re: [WordPress Trac] #8628: Extend class WP_Scripts to
support concatenating,
compressing and printing scripts in the HTML head and the footer
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 4 10:01:17 GMT 2009
#8628: Extend class WP_Scripts to support concatenating, compressing and printing
scripts in the HTML head and the footer
-------------------------+--------------------------------------------------
Reporter: azaozz | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by Viper007Bond):
Farbtastic completely breaks this script loader.
'''Steps To Reproduce:'''
1. Download and activate my Video Quicktags plugin:
http://wordpress.org/extend/plugins/vipers-video-quicktags/ [[BR]]
2. Visit Settings -> Video Quicktags in Firefox 3. Note page is there for
a moment and then disappears. Disabling JS makes it appear fine.[[BR]]
3. Comment out `wp_enqueue_script( 'farbtastic', ...` line in plugin. Page
works as expected.
Checking JS error console shows these errors:
{{{
Error: S.documentElement is null
Source File: http://localhost/wordpress-dev/wp-admin/load-
scripts.php?c=1&load=jquery,utils&ver=960edfac60367b8ae4d41cab123ae351
Line: 19
}}}
{{{
Error: document.body is null
Source File: http://localhost/wordpress-dev/wp-admin/load-
scripts.php?c=1&load=jquery,utils&ver=960edfac60367b8ae4d41cab123ae351
Line: 19
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/8628#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list