Changeset 48375 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 07/07/2020 01:43:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r48373 r48375 1377 1377 ); 1378 1378 1379 $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array( 'jquery', 'jquery-ui-core', 'json2', 'imgareaselect' ), false, 1 ); 1380 did_action( 'init' ) && $scripts->localize( 1381 'image-edit', 1382 'imageEditL10n', 1383 array( 1384 'error' => __( 'Could not load the preview image. Please reload the page and try again.' ), 1385 ) 1386 ); 1379 $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array( 'jquery', 'jquery-ui-core', 'json2', 'imgareaselect', 'wp-a11y' ), false, 1 ); 1380 $scripts->set_translations( 'image-edit' ); 1387 1381 1388 1382 $scripts->add( 'set-post-thumbnail', "/wp-admin/js/set-post-thumbnail$suffix.js", array( 'jquery' ), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.