Make WordPress Core

Changeset 20732


Ignore:
Timestamp:
05/07/2012 04:43:30 AM (10 years ago)
Author:
nacin
Message:

Add version numbers to Plupload in the script-loader.

File:
1 edited

Legend:

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

    r20721 r20732  
    218218    );
    219219
    220     $scripts->add( 'plupload', '/wp-includes/js/plupload/plupload.js' );
    221     $scripts->add( 'plupload-html5', '/wp-includes/js/plupload/plupload.html5.js', array('plupload') );
    222     $scripts->add( 'plupload-flash', '/wp-includes/js/plupload/plupload.flash.js', array('plupload') );
    223     $scripts->add( 'plupload-silverlight', '/wp-includes/js/plupload/plupload.silverlight.js', array('plupload') );
    224     $scripts->add( 'plupload-html4', '/wp-includes/js/plupload/plupload.html4.js', array('plupload') );
     220    $scripts->add( 'plupload', '/wp-includes/js/plupload/plupload.js', '1.5.4' );
     221    $scripts->add( 'plupload-html5', '/wp-includes/js/plupload/plupload.html5.js', array('plupload'), '1.5.4' );
     222    $scripts->add( 'plupload-flash', '/wp-includes/js/plupload/plupload.flash.js', array('plupload'), '1.5.4' );
     223    $scripts->add( 'plupload-silverlight', '/wp-includes/js/plupload/plupload.silverlight.js', array('plupload'), '1.5.4' );
     224    $scripts->add( 'plupload-html4', '/wp-includes/js/plupload/plupload.html4.js', array('plupload'), '1.5.4' );
    225225
    226226    // cannot use the plupload.full.js, as it loads browserplus init JS from Yahoo
    227     $scripts->add( 'plupload-all', false, array('plupload', 'plupload-html5', 'plupload-flash', 'plupload-silverlight', 'plupload-html4') );
     227    $scripts->add( 'plupload-all', false, array('plupload', 'plupload-html5', 'plupload-flash', 'plupload-silverlight', 'plupload-html4'), '1.5.4' );
    228228
    229229    $scripts->add( 'plupload-handlers', "/wp-includes/js/plupload/handlers$suffix.js", array('plupload-all', 'jquery') );
Note: See TracChangeset for help on using the changeset viewer.