Remove cookie checking from check_ajax_referer(). Check nonces instead. Props mdawaffe. fixes #5782

git-svn-id: https://develop.svn.wordpress.org/trunk@6739 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-06 21:19:47 +00:00
parent b7bab14e13
commit c2083047a8
7 changed files with 20 additions and 33 deletions

View File

@@ -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('jquery', 'schedule'), '20080104');
$this->add( 'autosave', '/wp-includes/js/autosave.js', array('jquery', 'schedule'), '20080206');
$this->localize( 'autosave', 'autosaveL10n', array(
'autosaveInterval' => apply_filters('autosave_interval', '120'),
'errorText' => __('Error: %response%'),