Fix autosave dependencies
git-svn-id: https://develop.svn.wordpress.org/trunk@6666 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
de5dc36346
commit
da0a8ff45f
@ -37,7 +37,7 @@ class WP_Scripts {
|
||||
|
||||
$this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
|
||||
|
||||
$this->add( 'autosave', '/wp-includes/js/autosave.js', array('prototype', 'sack'), '20080124');
|
||||
$this->add( 'autosave', '/wp-includes/js/autosave.js', array('jquery', 'schedule'), '20080104');
|
||||
$this->localize( 'autosave', 'autosaveL10n', array(
|
||||
'autosaveInterval' => apply_filters('autosave_interval', '120'),
|
||||
'errorText' => __('Error: %response%'),
|
||||
|
Loading…
Reference in New Issue
Block a user