Changes from branches/3.1/wp-includes/script-loader.php at r17559 to trunk/wp-includes/script-loader.php at r18311
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r17559 r18311 38 38 39 39 /** 40 * Set up WordPress scripts to load by default for Administration Panels.40 * Set up WordPress scripts to load by default for Administration Screen. 41 41 * 42 42 * Localizes a few of the scripts. … … 65 65 $scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' ); 66 66 67 $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '201 01211' );67 $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20110610' ); 68 68 $scripts->add_data( 'common', 'group', 1 ); 69 69 $scripts->localize( 'common', 'commonL10n', array( … … 75 75 $scripts->add_data( 'sack', 'group', 1 ); 76 76 77 $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", false, '20 090307' );77 $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", false, '20110502' ); 78 78 $scripts->add_data( 'quicktags', 'group', 1 ); 79 79 $scripts->localize( 'quicktags', 'quicktagsL10n', array( … … 87 87 'enterImageURL' => __('Enter the URL of the image'), 88 88 'enterImageDescription' => __('Enter a description of the image'), 89 'fullscreen' => __('fullscreen'), 90 'toggleFullscreen' => esc_attr( __('Toggle fullscreen mode') ), 89 91 'l10n_print_after' => 'try{convertEntities(quicktagsL10n);}catch(e){};' 90 92 ) ); … … 92 94 $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' ); 93 95 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 ); 95 101 96 102 $scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1'); … … 104 110 ) ); 105 111 106 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '201 01004' );112 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20110524' ); 107 113 $scripts->add_data( 'autosave', 'group', 1 ); 108 114 109 $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '201 01222' );115 $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20110521' ); 110 116 $scripts->add_data( 'wp-lists', 'group', 1 ); 111 117 … … 122 128 $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118'); 123 129 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' ); 127 133 $scripts->add_data( 'jquery-ui-core', 'group', 1 ); 128 134 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' ); 130 136 $scripts->add_data( 'jquery-ui-position', 'group', 1 ); 131 137 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' ); 133 139 $scripts->add_data( 'jquery-ui-widget', 'group', 1 ); 134 140 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' ); 136 142 $scripts->add_data( 'jquery-ui-mouse', 'group', 1 ); 137 143 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' ); 139 145 $scripts->add_data( 'jquery-ui-button', 'group', 1 ); 140 146 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' ); 142 148 $scripts->add_data( 'jquery-ui-tabs', 'group', 1 ); 143 149 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' ); 145 151 $scripts->add_data( 'jquery-ui-sortable', 'group', 1 ); 146 152 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' ); 148 154 $scripts->add_data( 'jquery-ui-draggable', 'group', 1 ); 149 155 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' ); 151 157 $scripts->add_data( 'jquery-ui-droppable', 'group', 1 ); 152 158 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' ); 154 160 $scripts->add_data( 'jquery-ui-selectable', 'group', 1 ); 155 161 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' ); 157 163 $scripts->add_data( 'jquery-ui-resizable', 'group', 1 ); 158 164 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' ); 160 166 $scripts->add_data( 'jquery-ui-dialog', 'group', 1 ); 161 167 162 168 // 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'); 164 170 $scripts->add_data( 'jquery-form', 'group', 1 ); 165 171 … … 185 191 $scripts->add_data( 'jquery-table-hotkeys', 'group', 1 ); 186 192 187 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-201 00407');193 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20110528'); 188 194 $scripts->add_data( 'thickbox', 'group', 1 ); 189 195 $scripts->localize( 'thickbox', 'thickboxL10n', array( … … 194 200 'close' => __('Close'), 195 201 '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'), 196 204 'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};' 197 205 ) ); 198 206 199 200 207 $scripts->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop$suffix.js", array('jquery'), '0.9.8-20110113'); 201 208 … … 203 210 204 211 $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'); 206 213 $scripts->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2201'); 207 214 $scripts->add( 'swfupload-speed', '/wp-includes/js/swfupload/plugins/swfupload.speed.js', array('swfupload'), '2201'); … … 211 218 $scripts->add( 'swfupload-all', false, array('swfupload', 'swfupload-swfobject', 'swfupload-queue'), '2201'); 212 219 } 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'); 214 221 } 215 222 216 $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-201 00523');223 $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20110524'); 217 224 $max_upload_size = ( (int) ( $max_up = @ini_get('upload_max_filesize') ) < (int) ( $max_post = @ini_get('post_max_size') ) ) ? $max_up : $max_post; 218 225 if ( empty($max_upload_size) ) … … 242 249 $scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", false, '20090102'); 243 250 244 $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", false, '2011 0113');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' ); 247 254 $scripts->add_data( 'imgareaselect', 'group', 1 ); 248 255 … … 260 267 ) ); 261 268 262 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20110 113' );269 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20110524' ); 263 270 $scripts->add_data( 'user-profile', 'group', 1 ); 264 271 … … 266 273 $scripts->add_data( 'admin-bar', 'group', 1 ); 267 274 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 ); 269 277 $scripts->localize( 'wplink', 'wpLinkL10n', array( 278 'title' => __('Insert/edit link'), 270 279 'update' => __('Update'), 271 280 'save' => __('Add Link'), … … 275 284 ) ); 276 285 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 ); 278 291 279 292 if ( is_admin() ) { … … 289 302 $scripts->add_data( 'admin-categories', 'group', 1 ); 290 303 291 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), '201 01216' );304 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), '20110429' ); 292 305 $scripts->add_data( 'admin-tags', 'group', 1 ); 293 306 $scripts->localize( 'admin-tags', 'tagsl10n', array( … … 297 310 )); 298 311 299 $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20 090106' );312 $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20110429' ); 300 313 $scripts->add_data( 'admin-custom-fields', 'group', 1 ); 301 314 302 $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags', 'jquery-query'), '20110 122' );315 $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags', 'jquery-query'), '20110602' ); 303 316 $scripts->add_data( 'admin-comments', 'group', 1 ); 304 317 $scripts->localize( 'admin-comments', 'adminCommentsL10n', array( 305 318 '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' ) 307 322 ) ); 308 323 309 $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array('jquery'), '201 00403' );324 $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array('jquery'), '20110524' ); 310 325 $scripts->add_data( 'xfn', 'group', 1 ); 311 326 312 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20 091012' );327 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20110612' ); 313 328 $scripts->add_data( 'postbox', 'group', 1 ); 314 329 315 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110 203' );330 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110524' ); 316 331 $scripts->add_data( 'post', 'group', 1 ); 317 332 $scripts->localize( 'post', 'postL10n', array( … … 342 357 ) ); 343 358 344 $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20 090526' );359 $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20110524' ); 345 360 $scripts->add_data( 'link', 'group', 1 ); 346 361 347 $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array('jquery'), '20 091202' );362 $scripts->add( 'comment', "/wp-admin/js/comment$suffix.js", array('jquery'), '20110429' ); 348 363 $scripts->add_data( 'comment', 'group', 1 ); 349 364 $scripts->localize( 'comment', 'commentL10n', array( … … 354 369 ) ); 355 370 356 $scripts->add( 'admin-gallery', "/wp-admin/js/gallery$suffix.js", array( 'jquery-ui-sortable' ), '20 090516' );357 358 $scripts->add( 'media-upload', "/wp-admin/js/media-upload$suffix.js", array( 'thickbox' ), '20110 113' );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' ); 359 374 $scripts->add_data( 'media-upload', 'group', 1 ); 360 375 361 $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '201 01007' );376 $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20110601' ); 362 377 $scripts->add_data( 'admin-widgets', 'group', 1 ); 363 378 364 $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20 090422' );379 $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20110515' ); 365 380 $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 ));370 381 371 382 $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox' ), '20110118' ); … … 375 386 $scripts->add_data( 'theme-preview', 'group', 1 ); 376 387 377 $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), '20110 113' );388 $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), '20110609' ); 378 389 $scripts->add_data( 'inline-edit-post', 'group', 1 ); 379 390 $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array( … … 384 395 ) ); 385 396 386 $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), '201 00615' );397 $scripts->add( 'inline-edit-tax', "/wp-admin/js/inline-edit-tax$suffix.js", array( 'jquery' ), '20110609' ); 387 398 $scripts->add_data( 'inline-edit-tax', 'group', 1 ); 388 399 $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array( … … 401 412 $scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array('jquery'), '1.2' ); 402 413 403 $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20110 113' );414 $scripts->add( 'dashboard', "/wp-admin/js/dashboard$suffix.js", array( 'jquery', 'admin-comments', 'postbox' ), '20110524' ); 404 415 $scripts->add_data( 'dashboard', 'group', 1 ); 405 416 … … 412 423 $scripts->add_data( 'media', 'group', 1 ); 413 424 414 $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array('jquery', 'json2', 'imgareaselect'), '20 091111' );425 $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array('jquery', 'json2', 'imgareaselect'), '20110524' ); 415 426 $scripts->add_data( 'image-edit', 'group', 1 ); 416 427 … … 426 437 427 438 // Navigation Menus 428 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '201 00814' );439 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '20110524' ); 429 440 $scripts->localize( 'nav-menu', 'navMenuL10n', array( 430 441 'noResultsFound' => _x('No results found.', 'search results'), … … 434 445 ) ); 435 446 436 $scripts->add( 'custom-background', "/wp-admin/js/custom-background$suffix.js", array('farbtastic'), '201 01025' );447 $scripts->add( 'custom-background', "/wp-admin/js/custom-background$suffix.js", array('farbtastic'), '20110511' ); 437 448 $scripts->add_data( 'custom-background', 'group', 1 ); 438 449 } … … 472 483 $no_suffix = array( 'farbtastic' ); 473 484 474 $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110 214' );475 476 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '201 01102' );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' ); 477 488 $styles->add_data( 'ie', 'conditional', 'lte IE 7' ); 478 489 479 490 // all colors stylesheets need to have the same query strings (cache manifest compat) 480 $colors_version = '20110 121';491 $colors_version = '20110611'; 481 492 482 493 // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. … … 487 498 $styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array(), $colors_version ); 488 499 489 $styles->add( 'ms', "/wp-admin/css/ms$suffix.css", array(), '201 01213' );490 $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20110 121' );491 $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20110 121' );492 $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20110 104' );493 $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20110 121' );494 $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20110 121' ); // Readme as well495 $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '201 01203' );496 $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20110 121' );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' ); 497 508 $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' ); 498 $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20110 121' );509 $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20110610' ); 499 510 $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(), '201 01226' );511 $styles->add( 'theme-install', "/wp-admin/css/theme-install$suffix.css", array(), '20110506' ); 501 512 $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u' ); 502 513 $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' ); 503 514 $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(), '201 00907' );505 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110 325' );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' ); 506 517 $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' ); 507 518 $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101224' ); … … 550 561 wp_localize_script( 'autosave', 'autosaveL10n', array( 551 562 'autosaveInterval' => AUTOSAVE_INTERVAL, 552 'previewPageText' => __('Preview this Page'),553 'previewPostText' => __('Preview this Post'),554 'requestFile' => admin_url('admin-ajax.php'),555 563 'savingText' => __('Saving Draft…'), 556 564 'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'), … … 561 569 562 570 /** 563 * Administration PanelCSS for changing the styles.571 * Administration Screen CSS for changing the styles. 564 572 * 565 573 * If installing the 'wp-admin/' directory will be replaced with './'. 566 574 * 567 * The $_wp_admin_css_colors global manages the Administration Panels CSS575 * The $_wp_admin_css_colors global manages the Administration Screens CSS 568 576 * stylesheet that is loaded. The option that is set is 'admin_color' and is the 569 577 * color and key for the array. The value for the color key is an object with … … 578 586 * @param string $src Source URL. 579 587 * @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. 581 589 */ 582 590 function wp_style_loader_src( $src, $handle ) {
Note: See TracChangeset
for help on using the changeset viewer.