Changeset 10258 for trunk/wp-includes/script-loader.php
- Timestamp:
- 12/27/2008 12:18:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r10222 r10258 42 42 $scripts->default_version = get_bloginfo( 'version' ); 43 43 44 $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '200812 10' );44 $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081226' ); 45 45 $scripts->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); 46 46 … … 162 162 'l10n_print_after' => 'try{convertEntities(pwsL10n);}catch(e){};' 163 163 ) ); 164 $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '200812 11' );164 $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20081226' ); 165 165 $scripts->localize( 'admin-comments', 'adminCommentsL10n', array( 166 166 'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']), … … 180 180 'l10n_print_after' => 'try{convertEntities(slugL10n);}catch(e){};' 181 181 ) ); 182 $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug'), '200812 17' );182 $scripts->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug'), '20081226' ); 183 183 $scripts->localize( 'post', 'postL10n', array( 184 184 'tagsUsed' => __('Tags used on this post:'), … … 206 206 'l10n_print_after' => 'try{convertEntities(postL10n);}catch(e){};' 207 207 ) ); 208 $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'wp-lists', 'postbox'), '200812 10' );208 $scripts->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'wp-lists', 'postbox'), '20081226' ); 209 209 $scripts->localize( 'page', 'postL10n', array( 210 210 'cancel' => __('Cancel'), … … 227 227 'l10n_print_after' => 'try{convertEntities(postL10n);}catch(e){};' 228 228 ) ); 229 $scripts->add( 'link', '/wp-admin/js/link.js', array('jquery-ui-tabs', 'wp-lists', 'postbox'), '200812 10' );230 $scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '200812 10' );229 $scripts->add( 'link', '/wp-admin/js/link.js', array('jquery-ui-tabs', 'wp-lists', 'postbox'), '20081226' ); 230 $scripts->add( 'comment', '/wp-admin/js/comment.js', array('jquery'), '20081226' ); 231 231 $scripts->localize( 'comment', 'commentL10n', array( 232 232 'cancel' => __('Cancel'), … … 263 263 $scripts->add( 'theme-preview', '/wp-admin/js/theme-preview.js', array( 'thickbox', 'jquery' ), '20081210' ); 264 264 265 $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '200812 10' );265 $scripts->add( 'inline-edit-post', '/wp-admin/js/inline-edit-post.js', array( 'jquery', 'jquery-form', 'suggest' ), '20081226' ); 266 266 $scripts->localize( 'inline-edit-post', 'inlineEditL10n', array( 267 267 'error' => __('Error while saving the changes.'), … … 271 271 ) ); 272 272 273 $scripts->add( 'inline-edit-tax', '/wp-admin/js/inline-edit-tax.js', array( 'jquery', 'jquery-form' ), '200812 10' );273 $scripts->add( 'inline-edit-tax', '/wp-admin/js/inline-edit-tax.js', array( 'jquery', 'jquery-form' ), '20081226' ); 274 274 $scripts->localize( 'inline-edit-tax', 'inlineEditL10n', array( 275 275 'error' => __('Error while saving the changes.'), … … 285 285 $scripts->add( 'farbtastic', '/wp-admin/js/farbtastic.js', array('jquery'), '1.2' ); 286 286 287 $scripts->add( 'dashboard', '/wp-admin/js/dashboard.js', array( 'jquery', 'admin-comments', 'postbox' ), '200812 10' );287 $scripts->add( 'dashboard', '/wp-admin/js/dashboard.js', array( 'jquery', 'admin-comments', 'postbox' ), '20081226' ); 288 288 289 289 $scripts->add( 'hoverIntent', '/wp-includes/js/hoverIntent.js', array('jquery'), '20081210' ); … … 322 322 323 323 $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20081210' ); 324 $styles->add_data( 'ie', 'conditional', ' gte IE 6' );324 $styles->add_data( 'ie', 'conditional', 'lte IE 7' ); 325 325 326 326 $styles->add( 'colors', true, array(), '20081210' ); // Register "meta" stylesheet for admin colors … … 330 330 $styles->add_data( 'colors-classic', 'rtl', true ); 331 331 332 $styles->add( 'global', '/wp-admin/css/global.css', array(), '200812 10' );332 $styles->add( 'global', '/wp-admin/css/global.css', array(), '20081226' ); 333 333 $styles->add( 'media', '/wp-admin/css/media.css', array(), '20081210' ); 334 334 $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20081210' ); … … 341 341 $styles->add( 'plugin-install', '/wp-admin/css/plugin-install.css', array(), '20081210' ); 342 342 $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' ); 343 $styles->add( 'no-js', '/wp-admin/css/no-js.css', array(), '20081225' ); 343 344 344 345 foreach ( $rtl_styles as $rtl_style )
Note: See TracChangeset
for help on using the changeset viewer.