Changeset 22127 for trunk/wp-includes/script-loader.php
- Timestamp:
- 10/06/2012 03:19:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r22076 r22127 370 370 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), false, 1 ); 371 371 372 $scripts->add( ' post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), false, 1 );373 did_action( 'init' ) && $scripts->localize( ' post', 'postL10n', array(372 $scripts->add( 'sample-permalink', "/wp-admin/js/sample-permalink.js", array(), false, 1 ); 373 did_action( 'init' ) && $scripts->localize( 'sample-permalink', 'samplePermalinkL10n', array( 374 374 'ok' => __('OK'), 375 375 'cancel' => __('Cancel'), 376 ) ); 377 378 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox', 'sample-permalink' ), false, 1 ); 379 did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array( 376 380 'publishOn' => __('Publish on:'), 377 381 'publishOnFuture' => __('Schedule for:'),
Note: See TracChangeset
for help on using the changeset viewer.