Changeset 48384 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 07/07/2020 04:12:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r48383 r48384 1358 1358 $scripts->add( 'media-grid', "/wp-includes/js/media-grid$suffix.js", array( 'media-editor' ), false, 1 ); 1359 1359 $scripts->add( 'media', "/wp-admin/js/media$suffix.js", array( 'jquery' ), false, 1 ); 1360 did_action( 'init' ) && $scripts->localize( 1361 'media', 1362 'attachMediaBoxL10n', 1363 array( 1364 'error' => __( 'An error has occurred. Please reload the page and try again.' ), 1365 ) 1366 ); 1360 $scripts->set_translations( 'media' ); 1367 1361 1368 1362 $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array( 'jquery', 'jquery-ui-core', 'json2', 'imgareaselect', 'wp-a11y' ), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.