Changeset 12022 for trunk/wp-includes/script-loader.php
- Timestamp:
- 10/13/2009 10:02:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r12021 r12022 99 99 ) ); 100 100 101 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '2009101 0' );101 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20091012' ); 102 102 $scripts->add_data( 'autosave', 'group', 1 ); 103 103 … … 266 266 $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", false, '3517m' ); 267 267 268 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '2009 0618' );268 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20091012' ); 269 269 $scripts->add_data( 'postbox', 'group', 1 ); 270 $scripts->localize( 'postbox', 'postboxL10n', array( 271 'requestFile' => admin_url('admin-ajax.php') 272 ) ); 273 274 $scripts->add( 'slug', "/wp-admin/js/slug$suffix.js", array('jquery'), '20090207' ); 275 $scripts->add_data( 'slug', 'group', 1 ); 276 $scripts->localize( 'slug', 'slugL10n', array( 277 'requestFile' => admin_url('admin-ajax.php'), 278 'save' => __('OK'), 279 'cancel' => __('Cancel'), 280 'l10n_print_after' => 'try{convertEntities(slugL10n);}catch(e){};' 281 ) ); 282 283 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox', 'slug'), '20090825' ); 270 271 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20091012' ); 284 272 $scripts->add_data( 'post', 'group', 1 ); 285 273 $scripts->localize( 'post', 'postL10n', array( … … 288 276 'addTag' => esc_attr(__('Add new tag')), 289 277 'separate' => __('Separate tags with commas'), 278 'ok' => __('OK'), 290 279 'cancel' => __('Cancel'), 291 280 'edit' => __('Edit'), … … 297 286 'publish' => __('Publish'), 298 287 'schedule' => __('Schedule'), 299 'update' => __('Update Post'), 288 'updatePost' => __('Update Post'), 289 'updatePage' => __('Update Page'), 300 290 'savePending' => __('Save as Pending'), 301 291 'saveDraft' => __('Save Draft'), … … 309 299 ) ); 310 300 311 $scripts->add( 'page', "/wp-admin/js/page$suffix.js", array('jquery', 'slug', 'wp-lists', 'postbox'), '20090825' );312 $scripts->add_data( 'page', 'group', 1 );313 $scripts->localize( 'page', 'postL10n', array(314 'cancel' => __('Cancel'),315 'edit' => __('Edit'),316 'publishOn' => __('Publish on:'),317 'publishOnFuture' => __('Schedule for:'),318 'publishOnPast' => __('Published on:'),319 'showcomm' => __('Show more comments'),320 'endcomm' => __('No more comments found.'),321 'publish' => __('Publish'),322 'schedule' => __('Schedule'),323 'update' => __('Update Page'),324 'savePending' => __('Save as Pending'),325 'saveDraft' => __('Save Draft'),326 'private' => __('Private'),327 'public' => __('Public'),328 'password' => __('Password Protected'),329 'privatelyPublished' => __('Privately Published'),330 'published' => __('Published'),331 'l10n_print_after' => 'try{convertEntities(postL10n);}catch(e){};'332 ) );333 334 301 $scripts->add( 'link', "/wp-admin/js/link$suffix.js", array('wp-lists', 'postbox'), '20090506' ); 335 302 $scripts->add_data( 'link', 'group', 1 ); … … 457 424 $colors_version = '20091007'; 458 425 459 $styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '200910 07' );426 $styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091012' ); 460 427 $styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" ); 461 428
Note: See TracChangeset
for help on using the changeset viewer.