Changeset 1319 in tests
- Timestamp:
- 07/28/2013 08:03:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/dependencies/jquery.php
r1223 r1319 8 8 9 9 function test_location_of_jquery() { 10 $jquery_scripts = array( 11 'jquery-core' => '/wp-includes/js/jquery/jquery.js', 12 'jquery-migrate' => '/wp-includes/js/jquery/jquery-migrate.js' 13 ); 10 if ( SCRIPT_DEBUG ) { 11 $jquery_scripts = array( 12 'jquery-core' => '/wp-includes/js/jquery/jquery.js', 13 'jquery-migrate' => '/wp-includes/js/jquery/jquery-migrate.min.js' 14 ); 15 } else { 16 $jquery_scripts = array( 17 'jquery-core' => '/wp-includes/js/jquery/jquery.js', 18 'jquery-migrate' => '/wp-includes/js/jquery/jquery-migrate.js' 19 ); 20 } 14 21 $scripts = new WP_Scripts; 15 22 wp_default_scripts( $scripts );
Note: See TracChangeset
for help on using the changeset viewer.