[wp-hackers] once again about upgrade check (but smth diffrent)

Konrad Karpieszuk kkarpieszuk at gmail.com
Tue Sep 15 09:57:43 UTC 2009


hi
I test myself how behave api of wordpress for checking upgrades.

when type in browser url bar:
http://api.wordpress.org/core/version-check/1.3/?version=2.8.4&php=5.0&locale=en_US&mysql=5.0

it says that i have latest wp version.

but when i change locale to polish:

http://api.wordpress.org/core/version-check/1.3/?version=2.8.4&php=5.0&locale=pl_PL&mysql=5.0

it says that i have to upgrade but also shows me that newest is 2.8.4
pl_PL.

why? is it a bug?

also i found report with thesame problem (with function apply_filters(
'core_version_check_locale', get_locale() ); which is used in
wp_version_check) at forum
http://wordpress.org/support/topic/302577?replies=2

api says something bad if locale is different than en_US

-- 
(en) regards / (pl) pozdrawiam
Konrad Karpieszuk
http://konradjestwrwandzie.wordpress.com/


More information about the wp-hackers mailing list