Make WordPress Core


Ignore:
Timestamp:
06/01/2015 05:37:14 PM (10 years ago)
Author:
azaozz
Message:

Editor:

  • Remove the old DFW.
  • Add back-compat stub for wp-fullscreen.js.
  • Keep wp_ajax_wp_fullscreen_save_post() for now.

See #30949.

File:
1 edited

Legend:

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

    r32676 r32677  
    9595        'enterImageURL'         => __( 'Enter the URL of the image' ),
    9696        'enterImageDescription' => __( 'Enter a description of the image' ),
    97         'fullscreen'            => __( 'fullscreen' ),
    98         'toggleFullscreen'      => esc_attr__( 'Toggle fullscreen mode' ),
    9997        'textdirection'         => esc_attr__( 'text direction' ),
    10098        'toggleTextdirection'   => esc_attr__( 'Toggle Editor Text Direction' ),
     
    106104    $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), false, 1 );
    107105
    108     $scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), false, 1 );
     106    // Back-compat for old DFW. To-do: remove at the end of 2016.
     107    $scripts->add( 'wp-fullscreen-stub', "/wp-admin/js/wp-fullscreen-stub$suffix.js", array(), false, 1 );
    109108
    110109    $scripts->add( 'wp-ajax-response', "/wp-includes/js/wp-ajax-response$suffix.js", array('jquery'), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.