Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r17559 r18311  
    3838
    3939/**
    40  * Set up WordPress scripts to load by default for Administration Panels.
     40 * Set up WordPress scripts to load by default for Administration Screen.
    4141 *
    4242 * Localizes a few of the scripts.
     
    6565    $scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' );
    6666
    67     $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20101211' );
     67    $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20110610' );
    6868    $scripts->add_data( 'common', 'group', 1 );
    6969    $scripts->localize( 'common', 'commonL10n', array(
     
    7575    $scripts->add_data( 'sack', 'group', 1 );
    7676
    77     $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", false, '20090307' );
     77    $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", false, '20110502' );
    7878    $scripts->add_data( 'quicktags', 'group', 1 );
    7979    $scripts->localize( 'quicktags', 'quicktagsL10n', array(
     
    8787        'enterImageURL' => __('Enter the URL of the image'),
    8888        'enterImageDescription' => __('Enter a description of the image'),
     89        'fullscreen' => __('fullscreen'),
     90        'toggleFullscreen' => esc_attr( __('Toggle fullscreen mode') ),
    8991        'l10n_print_after' => 'try{convertEntities(quicktagsL10n);}catch(e){};'
    9092    ) );
     
    9294    $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' );
    9395
    94     $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20091124' );
     96    $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20110411' );
     97    $scripts->add_data( 'editor', 'group', 1 );
     98
     99    $scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110610' );
     100    $scripts->add_data( 'wp-fullscreen', 'group', 1 );
    95101
    96102    $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');
     
    104110    ) );
    105111
    106     $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20101004' );
     112    $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20110524' );
    107113    $scripts->add_data( 'autosave', 'group', 1 );
    108114
    109     $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20101222' );
     115    $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20110521' );
    110116    $scripts->add_data( 'wp-lists', 'group', 1 );
    111117
     
    122128    $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118');
    123129
    124     $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4.4');
    125 
    126     $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.9' );
     130    $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.6.1');
     131
     132    $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.12' );
    127133    $scripts->add_data( 'jquery-ui-core', 'group', 1 );
    128134
    129     $scripts->add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery'), '1.8.9' );
     135    $scripts->add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery-ui-core'), '1.8.12' );
    130136    $scripts->add_data( 'jquery-ui-position', 'group', 1 );
    131137
    132     $scripts->add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery'), '1.8.9' );
     138    $scripts->add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery-ui-core'), '1.8.12' );
    133139    $scripts->add_data( 'jquery-ui-widget', 'group', 1 );
    134140
    135     $scripts->add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery', 'jquery-ui-widget'), '1.8.9' );
     141    $scripts->add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery-ui-widget'), '1.8.12' );
    136142    $scripts->add_data( 'jquery-ui-mouse', 'group', 1 );
    137143
    138     $scripts->add( 'jquery-ui-button', '/wp-includes/js/jquery/ui.button.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9' );
     144    $scripts->add( 'jquery-ui-button', '/wp-includes/js/jquery/ui.button.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.12' );
    139145    $scripts->add_data( 'jquery-ui-button', 'group', 1 );
    140146
    141     $scripts->add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9' );
     147    $scripts->add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.12' );
    142148    $scripts->add_data( 'jquery-ui-tabs', 'group', 1 );
    143149
    144     $scripts->add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui.sortable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
     150    $scripts->add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui.sortable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.12' );
    145151    $scripts->add_data( 'jquery-ui-sortable', 'group', 1 );
    146152
    147     $scripts->add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui.draggable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
     153    $scripts->add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui.draggable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.12' );
    148154    $scripts->add_data( 'jquery-ui-draggable', 'group', 1 );
    149155
    150     $scripts->add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui.droppable.js', array('jquery-ui-core', 'jquery-ui-mouse', 'jquery-ui-draggable'), '1.8.9' );
     156    $scripts->add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui.droppable.js', array('jquery-ui-core', 'jquery-ui-mouse', 'jquery-ui-draggable'), '1.8.12' );
    151157    $scripts->add_data( 'jquery-ui-droppable', 'group', 1 );
    152158
    153     $scripts->add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui.selectable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
     159    $scripts->add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui.selectable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.12' );
    154160    $scripts->add_data( 'jquery-ui-selectable', 'group', 1 );
    155161
    156     $scripts->add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
     162    $scripts->add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.12' );
    157163    $scripts->add_data( 'jquery-ui-resizable', 'group', 1 );
    158164
    159     $scripts->add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.9' );
     165    $scripts->add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.12' );
    160166    $scripts->add_data( 'jquery-ui-dialog', 'group', 1 );
    161167
    162168    // deprecated, not used in core, most functionality is included in jQuery 1.3
    163     $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array('jquery'), '2.02m');
     169    $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array('jquery'), '2.73');
    164170    $scripts->add_data( 'jquery-form', 'group', 1 );
    165171
     
    185191    $scripts->add_data( 'jquery-table-hotkeys', 'group', 1 );
    186192
    187     $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20100407');
     193    $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20110528');
    188194    $scripts->add_data( 'thickbox', 'group', 1 );
    189195    $scripts->localize( 'thickbox', 'thickboxL10n', array(
     
    194200            'close' => __('Close'),
    195201            'noiframes' => __('This feature requires inline frames. You have iframes disabled or your browser does not support them.'),
     202            'loadingAnimation' => includes_url('js/thickbox/loadingAnimation.gif'),
     203            'closeImage' => includes_url('js/thickbox/tb-close.png'),
    196204            'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};'
    197205    ) );
    198206
    199 
    200207    $scripts->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop$suffix.js", array('jquery'), '0.9.8-20110113');
    201208
     
    203210
    204211    $scripts->add( 'swfupload', '/wp-includes/js/swfupload/swfupload.js', false, '2201-20110113');
    205     $scripts->add( 'swfupload-swfobject', '/wp-includes/js/swfupload/plugins/swfupload.swfobject.js', array('swfupload', 'swfobject'), '2201');
     212    $scripts->add( 'swfupload-swfobject', '/wp-includes/js/swfupload/plugins/swfupload.swfobject.js', array('swfupload', 'swfobject'), '2201a');
    206213    $scripts->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2201');
    207214    $scripts->add( 'swfupload-speed', '/wp-includes/js/swfupload/plugins/swfupload.speed.js', array('swfupload'), '2201');
     
    211218        $scripts->add( 'swfupload-all', false, array('swfupload', 'swfupload-swfobject', 'swfupload-queue'), '2201');
    212219    } else {
    213         $scripts->add( 'swfupload-all', '/wp-includes/js/swfupload/swfupload-all.js', array(), '2201');
     220        $scripts->add( 'swfupload-all', '/wp-includes/js/swfupload/swfupload-all.js', array(), '2201a');
    214221    }
    215222
    216     $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20100523');
     223    $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20110524');
    217224    $max_upload_size = ( (int) ( $max_up = @ini_get('upload_max_filesize') ) < (int) ( $max_post = @ini_get('post_max_size') ) ) ? $max_up : $max_post;
    218225    if ( empty($max_upload_size) )
     
    242249    $scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", false, '20090102');
    243250
    244     $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", false, '20110113');
    245 
    246     $scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), '0.9.1-20110113' );
     251    $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", false, '2011-02-23');
     252
     253    $scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), '0.9.6-20110515' );
    247254    $scripts->add_data( 'imgareaselect', 'group', 1 );
    248255
     
    260267    ) );
    261268
    262     $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20110113' );
     269    $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20110524' );
    263270    $scripts->add_data( 'user-profile', 'group', 1 );
    264271
     
    266273    $scripts->add_data( 'admin-bar', 'group', 1 );
    267274
    268     $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array('jquery'), '20110111' );
     275    $scripts->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/js/wplink$suffix.js", array( 'jquery', 'wpdialogs' ), '20110528' );
     276    $scripts->add_data( 'wplink', 'group', 1 );
    269277    $scripts->localize( 'wplink', 'wpLinkL10n', array(
     278        'title' => __('Insert/edit link'),
    270279        'update' => __('Update'),
    271280        'save' => __('Add Link'),
     
    275284    ) );
    276285
    277     $scripts->add( 'wpdialogs-popup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", array( 'jquery-ui-dialog' ), '20101119' );
     286    $scripts->add( 'wpdialogs', "/wp-includes/js/tinymce/plugins/wpdialogs/js/wpdialog$suffix.js", array( 'jquery-ui-dialog' ), '20110528' );
     287    $scripts->add_data( 'wpdialogs', 'group', 1 );
     288
     289    $scripts->add( 'wpdialogs-popup', "/wp-includes/js/tinymce/plugins/wpdialogs/js/popup$suffix.js", array( 'wpdialogs' ), '20110421' );
     290    $scripts->add_data( 'wpdialogs-popup', 'group', 1 );
    278291
    279292    if ( is_admin() ) {
     
    289302        $scripts->add_data( 'admin-categories', 'group', 1 );
    290303
    291         $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), '20101216' );
     304        $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), '20110429' );
    292305        $scripts->add_data( 'admin-tags', 'group', 1 );
    293306        $scripts->localize( 'admin-tags', 'tagsl10n', array(
     
    297310        ));
    298311
    299         $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20090106' );
     312        $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20110429' );
    300313        $scripts->add_data( 'admin-custom-fields', 'group', 1 );
    301314
    302         $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags', 'jquery-query'), '20110122' );
     315        $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags', 'jquery-query'), '20110602' );
    303316        $scripts->add_data( 'admin-comments', 'group', 1 );
    304317        $scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
    305318            'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
    306             'hotkeys_highlight_last' => isset($_GET['hotkeys_highlight_last'])
     319            'hotkeys_highlight_last' => isset($_GET['hotkeys_highlight_last']),
     320            'replyApprove' => __( 'Approve and Reply' ),
     321            'reply' => __( 'Reply' )
    307322        ) );
    308323
    309         $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array('jquery'), '20100403' );
     324        $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array('jquery'), '20110524' );
    310325        $scripts->add_data( 'xfn', 'group', 1 );
    311326
    312         $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20091012' );
     327        $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20110612' );
    313328        $scripts->add_data( 'postbox', 'group', 1 );
    314329
    315         $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110203' );
     330        $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110524' );
    316331        $scripts->add_data( 'post', 'group', 1 );
    317332        $scripts->localize( 'post', 'postL10n', array(
     
    342357        ) );
    343358
    344         $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20090526' );
     359        $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20110524' );
    345360        $scripts->add_data( 'link', 'group', 1 );
    346361
    347         $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array('jquery'), '20091202' );
     362        $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array('jquery'), '20110429' );
    348363        $scripts->add_data( 'comment', 'group', 1 );
    349364        $scripts->localize( 'comment', 'commentL10n', array(
     
    354369        ) );
    355370
    356         $scripts->add( 'admin-gallery', "/wp-admin/js/gallery$suffix.js", array( 'jquery-ui-sortable' ), '20090516' );
    357 
    358         $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox' ), '20110113' );
     371        $scripts->add( 'admin-gallery', "/wp-admin/js/gallery$suffix.js", array( 'jquery-ui-sortable' ), '20110414' );
     372
     373        $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox' ), '20110425' );
    359374        $scripts->add_data( 'media-upload', 'group', 1 );
    360375
    361         $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20101007' );
     376        $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20110601' );
    362377        $scripts->add_data( 'admin-widgets', 'group', 1 );
    363378
    364         $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20090422' );
     379        $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20110515' );
    365380        $scripts->add_data( 'word-count', 'group', 1 );
    366         $scripts->localize( 'word-count', 'wordCountL10n', array(
    367             'count' => __('Word count: %d'),
    368             'l10n_print_after' => 'try{convertEntities(wordCountL10n);}catch(e){};'
    369         ));
    370381
    371382        $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox' ), '20110118' );
     
    375386        $scripts->add_data( 'theme-preview', 'group', 1 );
    376387
    377         $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), '20110113' );
     388        $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), '20110609' );
    378389        $scripts->add_data( 'inline-edit-post', 'group', 1 );
    379390        $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array(
     
    384395        ) );
    385396
    386         $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), '20100615' );
     397        $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), '20110609' );
    387398        $scripts->add_data( 'inline-edit-tax', 'group', 1 );
    388399        $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array(
     
    401412        $scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array('jquery'), '1.2' );
    402413
    403         $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20110113' );
     414        $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20110524' );
    404415        $scripts->add_data( 'dashboard', 'group', 1 );
    405416
     
    412423        $scripts->add_data( 'media', 'group', 1 );
    413424
    414         $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array('jquery', 'json2', 'imgareaselect'), '20091111' );
     425        $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array('jquery', 'json2', 'imgareaselect'), '20110524' );
    415426        $scripts->add_data( 'image-edit', 'group', 1 );
    416427
     
    426437
    427438        // Navigation Menus
    428         $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '20100814' );
     439        $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '20110524' );
    429440        $scripts->localize( 'nav-menu', 'navMenuL10n', array(
    430441            'noResultsFound' => _x('No results found.', 'search results'),
     
    434445        ) );
    435446
    436         $scripts->add( 'custom-background', "/wp-admin/js/custom-background$suffix.js", array('farbtastic'), '20101025' );
     447        $scripts->add( 'custom-background', "/wp-admin/js/custom-background$suffix.js", array('farbtastic'), '20110511' );
    437448        $scripts->add_data( 'custom-background', 'group', 1 );
    438449    }
     
    472483    $no_suffix = array( 'farbtastic' );
    473484
    474     $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110214' );
    475 
    476     $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
     485    $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110614' );
     486
     487    $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110601' );
    477488    $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
    478489
    479490    // all colors stylesheets need to have the same query strings (cache manifest compat)
    480     $colors_version = '20110121';
     491    $colors_version = '20110611';
    481492
    482493    // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
     
    487498    $styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array(), $colors_version );
    488499
    489     $styles->add( 'ms', "/wp-admin/css/ms$suffix.css", array(), '20101213' );
    490     $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20110121' );
    491     $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20110121' );
    492     $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20110104' );
    493     $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20110121' );
    494     $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20110121' ); // Readme as well
    495     $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20101203' );
    496     $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110121' );
     500    $styles->add( 'ms', "/wp-admin/css/ms$suffix.css", array(), '20110601' );
     501    $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20110610' );
     502    $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20110614' );
     503    $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20110606' );
     504    $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20110611' );
     505    $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20110602' ); // Readme as well
     506    $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20110602' );
     507    $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110611a' );
    497508    $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
    498     $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20110121' );
     509    $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20110610' );
    499510    $styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20101230' );
    500     $styles->add( 'theme-install', "/wp-admin/css/theme-install$suffix.css", array(), '20101226' );
     511    $styles->add( 'theme-install', "/wp-admin/css/theme-install$suffix.css", array(), '20110506' );
    501512    $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u' );
    502513    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
    503514    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    504     $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
    505     $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110325' );
     515    $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20110611' );
     516    $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110601' );
    506517    $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
    507518    $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101224' );
     
    550561    wp_localize_script( 'autosave', 'autosaveL10n', array(
    551562        'autosaveInterval' => AUTOSAVE_INTERVAL,
    552         'previewPageText' => __('Preview this Page'),
    553         'previewPostText' => __('Preview this Post'),
    554         'requestFile' => admin_url('admin-ajax.php'),
    555563        'savingText' => __('Saving Draft&#8230;'),
    556564        'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'),
     
    561569
    562570/**
    563  * Administration Panel CSS for changing the styles.
     571 * Administration Screen CSS for changing the styles.
    564572 *
    565573 * If installing the 'wp-admin/' directory will be replaced with './'.
    566574 *
    567  * The $_wp_admin_css_colors global manages the Administration Panels CSS
     575 * The $_wp_admin_css_colors global manages the Administration Screens CSS
    568576 * stylesheet that is loaded. The option that is set is 'admin_color' and is the
    569577 * color and key for the array. The value for the color key is an object with
     
    578586 * @param string $src Source URL.
    579587 * @param string $handle Either 'colors' or 'colors-rtl'.
    580  * @return string URL path to CSS stylesheet for Administration Panels.
     588 * @return string URL path to CSS stylesheet for Administration Screens.
    581589 */
    582590function wp_style_loader_src( $src, $handle ) {
Note: See TracChangeset for help on using the changeset viewer.