Changeset 41584 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 09/24/2017 02:21:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r41572 r41584 674 674 ) ); 675 675 676 $scripts->add( 'press-this', "/wp-admin/js/press-this$suffix.js", array( 'jquery', 'tags-box', 'wp-sanitize' ), false, 1 );677 did_action( 'init' ) && $scripts->localize( 'press-this', 'pressThisL10n', array(678 'newPost' => __( 'Title' ),679 'serverError' => __( 'Connection lost or the server is busy. Please try again later.' ),680 'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),681 /* translators: %d: nth embed found in a post */682 'suggestedEmbedAlt' => __( 'Suggested embed #%d' ),683 /* translators: %d: nth image found in a post */684 'suggestedImgAlt' => __( 'Suggested image #%d' ),685 ) );686 687 676 $scripts->add( 'editor-expand', "/wp-admin/js/editor-expand$suffix.js", array( 'jquery', 'underscore' ), false, 1 ); 688 677 … … 964 953 $styles->add( 'customize-widgets', "/wp-admin/css/customize-widgets$suffix.css", array( 'wp-admin', 'colors' ) ); 965 954 $styles->add( 'customize-nav-menus', "/wp-admin/css/customize-nav-menus$suffix.css", array( 'wp-admin', 'colors' ) ); 966 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array( 'buttons' ) );967 955 968 956 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" ); … … 1003 991 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', 1004 992 'widgets', 'site-icon', 'l10n', 'install', 'wp-color-picker', 'customize-controls', 'customize-widgets', 'customize-nav-menus', 'customize-preview', 1005 'ie', 'login', 'press-this',993 'ie', 'login', 1006 994 // wp-includes 1007 995 'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
Note: See TracChangeset
for help on using the changeset viewer.