Make WordPress Core


Ignore:
Timestamp:
09/24/2017 02:21:42 PM (9 years ago)
Author:
azaozz
Message:

Retire Press This and extract it to a plugin. First run.

Props kraftbj, azaozz.
See #41689.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r41572 r41584  
    674674                ) );
    675675
    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 
    687676                $scripts->add( 'editor-expand', "/wp-admin/js/editor-expand$suffix.js", array( 'jquery', 'underscore' ), false, 1 );
    688677
    … …  
    964953        $styles->add( 'customize-widgets',   "/wp-admin/css/customize-widgets$suffix.css", array( 'wp-admin', 'colors' ) );
    965954        $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' ) );
    967955
    968956        $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" );
    … …  
    1003991                'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus',
    1004992                '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',
    1006994                // wp-includes
    1007995                'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
Note: See TracChangeset for help on using the changeset viewer.