Changeset 31741 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 03/12/2015 01:04:44 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r31733 r31741 448 448 449 449 if ( is_admin() ) { 450 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array( 'jquery', 'wp-ajax-response'), false, 1 );450 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array( 'jquery', 'wp-ajax-response', 'emoji' ), false, 1 ); 451 451 did_action( 'init' ) && $scripts->localize( 'admin-tags', 'tagsl10n', array( 452 452 'noPerm' => __('You do not have permission to do that.'), … … 471 471 ) ); 472 472 473 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array( 'suggest', 'wp-lists', 'postbox', 'tags-box' ), false, 1 );473 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array( 'suggest', 'wp-lists', 'postbox', 'tags-box', 'emoji' ), false, 1 ); 474 474 did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array( 475 475 'ok' => __('OK'), … … 523 523 $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'wp-backbone' ), false, 1 ); 524 524 525 $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), false, 1 );525 $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest', 'emoji' ), false, 1 ); 526 526 did_action( 'init' ) && $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array( 527 527 'error' => __('Error while saving the changes.'), … … 531 531 ) ); 532 532 533 $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), false, 1 );533 $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery', 'emoji' ), false, 1 ); 534 534 did_action( 'init' ) && $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array( 535 535 'error' => __('Error while saving the changes.')
Note: See TracChangeset
for help on using the changeset viewer.