From 8dba300bf54e882189e3f31391568b40b58e9fcb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 22 Aug 2006 05:57:28 +0000 Subject: [PATCH] Use get_option instead of get_bloginfo to retrieve siteurl cause the two aren't the same for some mystical reason. git-svn-id: https://develop.svn.wordpress.org/trunk@4107 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/autosave.js.php | 4 ++-- wp-includes/script-loader.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/autosave.js.php b/wp-includes/js/autosave.js.php index f0c3520a63..811ec6c79f 100644 --- a/wp-includes/js/autosave.js.php +++ b/wp-includes/js/autosave.js.php @@ -50,7 +50,7 @@ function autosave_update_post_ID() { nonceAjax.setVar("post_ID", res); nonceAjax.setVar("cookie", document.cookie); nonceAjax.setVar("post_type", $('post_type').value); - nonceAjax.requestFile = "/wp-admin/admin-ajax.php"; + nonceAjax.requestFile = "/wp-admin/admin-ajax.php"; nonceAjax.onCompletion = autosave_update_nonce; nonceAjax.method = "POST"; nonceAjax.runAJAX(); @@ -119,7 +119,7 @@ function autosave() { autosaveAjax.setVar("content", form.content.value); } - autosaveAjax.requestFile = "/wp-admin/admin-ajax.php"; + autosaveAjax.requestFile = "/wp-admin/admin-ajax.php"; autosaveAjax.method = "POST"; autosaveAjax.element = null; autosaveAjax.onLoading = autosave_loading; diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 06330e40e6..62e1d58dd8 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -18,7 +18,7 @@ class WP_Scripts { $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '08152006' ); $this->add( 'wp_tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('tiny_mce'), '04162006' ); $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.5.0'); - $this->add( 'autosave', '/wp-includes/js/autosave.js.php', array('prototype', 'sack'), '4102'); + $this->add( 'autosave', '/wp-includes/js/autosave.js.php', array('prototype', 'sack'), '4107'); if ( is_admin() ) { $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key-js.php', array('dbx'), '3651' ); $this->add( 'listman', '/wp-admin/list-manipulation-js.php', array('sack', 'fat'), '4042' ); // Make changeset # the correct one