[wp-trac] [WordPress Trac] #13732: Why are we _maybe_update'ing on admin-ajax?
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 8 22:56:35 UTC 2010
#13732: Why are we _maybe_update'ing on admin-ajax?
-----------------------------+----------------------------------------------
Reporter: mitchoyoshitaka | Owner: dd32
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Upgrade/Install | Version: 3.0
Severity: normal | Keywords: has-patch 3.2-early
-----------------------------+----------------------------------------------
Comment(by jimisaacs):
I called delete_site_transient('update_core'); and refreshed a few times
to make sure things were reset.
Then I tried the debug_backtrace again, and still a curl request is being
made every request.
Here is an example of the backtrace from the wp-admin/users.php file.
{{{
Array
(
[0] => Array
(
[file] => /masked-filepath/wp-includes/class-http.php
[line] => 318
[function] => request
[class] => WP_Http_Curl
[object] => WP_Http_Curl Object
(
)
[type] => ->
[args] => Array
(
[0] => http://api.wordpress.org/core/version-
check/1.5/?version=3.1-beta1-16732&php=5.3.3&locale=en_US&mysql=5.1.52&local_package=&blogs=3&users=1&multisite_enabled=1
[1] => Array
(
[method] => GET
[timeout] => 3
[redirection] => 5
[httpversion] => 1.0
[user-agent] => WordPress/3.1-beta1-16732;
http://masked-host/
[blocking] => 1
[headers] => Array
(
[wp_install] => http://masked-host/
[wp_blog] => http://masked-host/
[Accept-Encoding] => deflate;q=1.0,
compress;q=0.5
)
[cookies] => Array
(
)
[body] =>
[compress] =>
[decompress] => 1
[sslverify] => 1
[ssl] =>
[local] =>
)
)
)
[1] => Array
(
[file] => /masked-filepath/wp-includes/class-http.php
[line] => 362
[function] => request
[class] => WP_Http
[object] => WP_Http Object
(
)
[type] => ->
[args] => Array
(
[0] => http://api.wordpress.org/core/version-
check/1.5/?version=3.1-beta1-16732&php=5.3.3&locale=en_US&mysql=5.1.52&local_package=&blogs=3&users=1&multisite_enabled=1
[1] => Array
(
[method] => GET
[timeout] => 3
[user-agent] => WordPress/3.1-beta1-16732;
http://masked-host/
[headers] => Array
(
[wp_install] => http://masked-host/
[wp_blog] => http://masked-host/
)
)
)
)
[2] => Array
(
[file] => /masked-filepath/wp-includes/http.php
[line] => 76
[function] => get
[class] => WP_Http
[object] => WP_Http Object
(
)
[type] => ->
[args] => Array
(
[0] => http://api.wordpress.org/core/version-
check/1.5/?version=3.1-beta1-16732&php=5.3.3&locale=en_US&mysql=5.1.52&local_package=&blogs=3&users=1&multisite_enabled=1
[1] => Array
(
[timeout] => 3
[user-agent] => WordPress/3.1-beta1-16732;
http://masked-host/
[headers] => Array
(
[wp_install] => http://masked-host/
[wp_blog] => http://masked-host/
)
)
)
)
[3] => Array
(
[file] => /masked-filepath/wp-includes/update.php
[line] => 71
[function] => wp_remote_get
[args] => Array
(
[0] => http://api.wordpress.org/core/version-
check/1.5/?version=3.1-beta1-16732&php=5.3.3&locale=en_US&mysql=5.1.52&local_package=&blogs=3&users=1&multisite_enabled=1
[1] => Array
(
[timeout] => 3
[user-agent] => WordPress/3.1-beta1-16732;
http://masked-host/
[headers] => Array
(
[wp_install] => http://masked-host/
[wp_blog] => http://masked-host/
)
)
)
)
[4] => Array
(
[file] => /masked-filepath/wp-includes/update.php
[line] => 303
[function] => wp_version_check
[args] => Array
(
)
)
[5] => Array
(
[function] => _maybe_update_core
[args] => Array
(
[0] =>
)
)
[6] => Array
(
[file] => /masked-filepath/wp-includes/plugin.php
[line] => 395
[function] => call_user_func_array
[args] => Array
(
[0] => _maybe_update_core
[1] => Array
(
[0] =>
)
)
)
[7] => Array
(
[file] => /masked-filepath/wp-admin/admin.php
[line] => 111
[function] => do_action
[args] => Array
(
[0] => admin_init
)
)
[8] => Array
(
[file] => /masked-filepath/wp-admin/users.php
[line] => 10
[args] => Array
(
[0] => /masked-filepath/wp-admin/admin.php
)
[function] => require_once
)
)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13732#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list