Make WordPress Core

Changeset 24488


Ignore:
Timestamp:
06/21/2013 09:26:18 AM (11 years ago)
Author:
nacin
Message:

Remove redundant swfupload-all.js file.

Location:
trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r23529 r24488  
    550550'wp-includes/class-wp-atom-server.php',
    551551'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css',
     552// 3.5.2
     553'wp-includes/js/swfupload/swfupload-all.js',
    552554);
    553555
  • trunk/wp-includes/script-loader.php

    r24410 r24488  
    257257    $scripts->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2201');
    258258    $scripts->add( 'swfupload-speed', '/wp-includes/js/swfupload/plugins/swfupload.speed.js', array('swfupload'), '2201');
    259 
    260     if ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) {
    261         // queue all SWFUpload scripts that are used by default
    262         $scripts->add( 'swfupload-all', false, array('swfupload', 'swfupload-swfobject', 'swfupload-queue'), '2201');
    263     } else {
    264         $scripts->add( 'swfupload-all', '/wp-includes/js/swfupload/swfupload-all.js', array(), '2201a');
    265     }
    266 
     259    $scripts->add( 'swfupload-all', false, array('swfupload', 'swfupload-swfobject', 'swfupload-queue'), '2201');
    267260    $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20110524');
    268261    did_action( 'init' ) && $scripts->localize( 'swfupload-handlers', 'swfuploadL10n', $uploader_l10n );
Note: See TracChangeset for help on using the changeset viewer.