Changeset 16553 for trunk/wp-includes/script-loader.php
- Timestamp:
- 11/23/2010 08:17:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r16540 r16553 304 304 $scripts->add( 'admin-custom-fields', "/wp-admin/js/custom-fields$suffix.js", array('wp-lists'), '20090106' ); 305 305 $scripts->add_data( 'admin-custom-fields', 'group', 1 ); 306 307 $scripts->add( 'list-table', "/wp-admin/js/list-table$suffix.js", array( 'jquery-query', 'jquery-serialize-object' ), '20101121' ); 308 $scripts->add_data( 'list-table', 'group', 1 ); 309 $scripts->localize( 'list-table', 'listTableL10n', array( 310 'loading' => __('Loading...'), 311 'error' => __('An error has occurred while loading the items.'), 312 'search' => __('Search results for “%s”'), 313 'l10n_print_after' => 'try{convertEntities(listTableL10n);}catch(e){};' 314 ) ); 306 315 307 316 $scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'list-table', 'jquery-ui-resizable', 'quicktags'), '20101121' ); … … 374 383 )); 375 384 376 $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox', ' jquery' ), '20101123' );385 $scripts->add( 'theme', "/wp-admin/js/theme$suffix.js", array( 'thickbox', 'list-table' ), '20101123' ); 377 386 $scripts->add_data( 'theme', 'group', 1 ); 378 387 379 388 $scripts->add( 'theme-preview', "/wp-admin/js/theme-preview$suffix.js", array( 'thickbox', 'jquery' ), '20100407' ); 380 389 $scripts->add_data( 'theme-preview', 'group', 1 ); 381 382 $scripts->add( 'list-table', "/wp-admin/js/list-table$suffix.js", array( 'jquery-query', 'jquery-serialize-object' ), '20101121' );383 $scripts->add_data( 'list-table', 'group', 1 );384 $scripts->localize( 'list-table', 'listTableL10n', array(385 'loading' => __('Loading...'),386 'error' => __('An error has occurred while loading the items.'),387 'search' => __('Search results for “%s”'),388 'l10n_print_after' => 'try{convertEntities(listTableL10n);}catch(e){};'389 ) );390 390 391 391 $scripts->add( 'inline-edit-post', "/wp-admin/js/inline-edit-post$suffix.js", array( 'jquery', 'suggest' ), '20100707' );
Note: See TracChangeset
for help on using the changeset viewer.