Ticket #31636: 31636.2.patch
| File 31636.2.patch, 541 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/functions.wp-scripts.php
224 224 225 225 _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); 226 226 227 $_handle = explode( '?', $handle ); 227 if ( ! is_array( $handle ) ) { 228 $_handle = explode( '?', $handle ); 229 } else { 230 $_handle = $handle; 231 } 228 232 229 233 if ( $src ) { 230 234 $wp_scripts->add( $_handle[0], $src, $deps, $ver );