mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Fix autosave dependencies
git-svn-id: http://svn.automattic.com/wordpress/trunk@6666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0bf9c81fb5
commit
5602414fa7
@ -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