[wp-trac] [WordPress Trac] #25247: WP_Dependencies unsets a to do item when it isn't loaded
WordPress Trac
noreply at wordpress.org
Tue Dec 3 14:55:30 UTC 2013
#25247: WP_Dependencies unsets a to do item when it isn't loaded
------------------------------------------+-----------------------------
Reporter: markoheijnen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch |
------------------------------------------+-----------------------------
Changes (by ocean90):
* cc: azaozz (added)
* keywords: needs-unit-tests => needs-unit-tests needs-patch
* version: => 3.6
* milestone: Awaiting Review => Future Release
Comment:
This script has worked until 3.6:
{{{
/**
* Prints jQuery in footer on front-end.
*/
function ds_print_jquery_in_footer( &$scripts) {
if ( ! is_admin() )
$scripts->add_data( 'jquery', 'group', 1 );
}
add_action( 'wp_default_scripts', 'ds_print_jquery_in_footer' );
}}}
With 3.6 I would set the group arg for the dependencies to 1 too, but that
doesn't work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25247#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list