Changeset 17936 for trunk/wp-includes/script-loader.php
- Timestamp:
- 05/16/2011 06:17:44 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r17935 r17936 97 97 $scripts->add_data( 'editor', 'group', 1 ); 98 98 99 $scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '2011051 4' );99 $scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110515' ); 100 100 $scripts->add_data( 'wp-fullscreen', 'group', 1 ); 101 101 … … 110 110 ) ); 111 111 112 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '2011051 4' );112 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20110515' ); 113 113 $scripts->add_data( 'autosave', 'group', 1 ); 114 114 … … 328 328 $scripts->add_data( 'postbox', 'group', 1 ); 329 329 330 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '2011051 2' );330 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20110515' ); 331 331 $scripts->add_data( 'post', 'group', 1 ); 332 332 $scripts->localize( 'post', 'postL10n', array( … … 377 377 $scripts->add_data( 'admin-widgets', 'group', 1 ); 378 378 379 $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20110 424' );379 $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20110515' ); 380 380 $scripts->add_data( 'word-count', 'group', 1 ); 381 $scripts->localize( 'word-count', 'wordCountL10n', array(382 'count' => __('Word count: %d'),383 'l10n_print_after' => 'try{convertEntities(wordCountL10n);}catch(e){};'384 ));385 381 386 382 $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox' ), '20110118' ); … … 487 483 $no_suffix = array( 'farbtastic' ); 488 484 489 $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '2011051 2b' );485 $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110515' ); 490 486 491 487 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' ); … … 565 561 wp_localize_script( 'autosave', 'autosaveL10n', array( 566 562 'autosaveInterval' => AUTOSAVE_INTERVAL, 567 'previewPageText' => __('Preview this Page'),568 'previewPostText' => __('Preview this Post'),569 'requestFile' => admin_url('admin-ajax.php'),570 563 'savingText' => __('Saving Draft…'), 571 564 'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'),
Note: See TracChangeset
for help on using the changeset viewer.