Changeset 10912 for trunk/wp-includes/script-loader.php
- Timestamp:
- 04/11/2009 02:37:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r10884 r10912 331 331 $scripts->add_data( 'media-upload', 'group', 1 ); 332 332 333 $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'interface' ), '20090106' ); 334 $scripts->localize( 'admin-widgets', 'widgetsL10n', array( 335 'add' => __('Add'), 336 'edit' => __('Edit'), 337 'cancel' => __('Cancel'), 338 'lameReminder' => __('Remember to click the "Save Changes" button at the bottom of the Current Widgets column after you\'re all done!'), 339 'lamerReminder' => __("You're about to leave without having saved your changes!"), 340 'l10n_print_after' => 'try{convertEntities(widgetsL10n);}catch(e){};' 341 )); 333 $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable' ), '20090411' ); 334 $scripts->add_data( 'admin-widgets', 'group', 1 ); 342 335 343 336 $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20090102' ); … … 426 419 $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' ); 427 420 428 $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '200904 05' );421 $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090411' ); 429 422 $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' ); 430 423 431 $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '200904 07' );424 $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20090411' ); 432 425 $styles->add_data( 'ie', 'conditional', 'lte IE 7' ); 433 426 434 $styles->add( 'colors', true, array(), '200904 05' ); // Register "meta" stylesheet for admin colors427 $styles->add( 'colors', true, array(), '20090411' ); // Register "meta" stylesheet for admin colors 435 428 $styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081210'); // for login.php. Is there a better way? 436 429 $styles->add_data( 'colors-fresh', 'rtl', true ); … … 438 431 $styles->add_data( 'colors-classic', 'rtl', true ); 439 432 440 $styles->add( 'global', '/wp-admin/css/global.css', array(), '200904 07' );433 $styles->add( 'global', '/wp-admin/css/global.css', array(), '20090411' ); 441 434 $styles->add( 'media', '/wp-admin/css/media.css', array(), '20090325' ); 442 $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '200 81210' );435 $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20090411' ); 443 436 $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20090305' ); 444 437 $styles->add( 'install', '/wp-admin/css/install.css', array(), '20081210' );
Note: See TracChangeset
for help on using the changeset viewer.