Changeset 31028 for trunk/src/wp-includes/functions.wp-scripts.php
- Timestamp:
- 01/03/2015 02:40:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-scripts.php
r30674 r31028 204 204 } 205 205 206 $_handle = explode( '?', $handle ); 207 206 208 if ( $src ) { 207 $_handle = explode('?', $handle);208 209 $wp_scripts->add( $_handle[0], $src, $deps, $ver ); 209 if ( $in_footer ) 210 $wp_scripts->add_data( $_handle[0], 'group', 1 ); 211 } 210 } 211 212 if ( $in_footer ) { 213 $wp_scripts->add_data( $_handle[0], 'group', 1 ); 214 } 215 212 216 $wp_scripts->enqueue( $handle ); 213 217 }
Note: See TracChangeset
for help on using the changeset viewer.