Changeset 23355 for trunk/wp-includes/script-loader.php
- Timestamp:
- 01/29/2013 06:15:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r23339 r23355 108 108 109 109 $scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), false, 1 ); 110 111 $scripts->add( 'heartbeat', "/wp-includes/js/heartbeat$suffix.js", array('jquery'), false, 1 ); 112 did_action( 'init' ) && $scripts->localize( 'heartbeat', 'heartbeatSettings', 113 apply_filters( 'heartbeat_settings', array() ) 114 ); 110 115 111 116 $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array( 'wp-ajax-response', 'jquery-color' ), false, 1 ); … … 372 377 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), false, 1 ); 373 378 374 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox' ), false, 1 );379 $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox', 'heartbeat'), false, 1 ); 375 380 did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array( 376 381 'ok' => __('OK'),
Note: See TracChangeset
for help on using the changeset viewer.