[wp-trac] [WordPress Trac] #23113: Automatic notice of new localized version missing

WordPress Trac noreply at wordpress.org
Wed Jan 30 22:45:22 UTC 2013


#23113: Automatic notice of new localized version missing
-----------------------------+----------------------------
 Reporter:  pavelevap        |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  WordPress.org
Component:  Upgrade/Install  |     Version:  3.5
 Severity:  major            |  Resolution:
 Keywords:                   |
-----------------------------+----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:6 pavelevap]:
 > There are options to Re-install or Download Czech version (after
 clicking Check again button), but original English version is missing.

 Confirmed. The API doesn't return the English package when `version` is
 the latest release and `local_package` is not set:
 {{{
 http://api.wordpress.org/core/version-
 check/1.6/?version=3.5.1&php=5.2.14&locale=cs_CZ&mysql=5.0.45&local_package=&blogs=1&users=1&multisite_enabled=0
 }}}
 Response:
 {{{
 a:1:{s:6:"offers";a:1:{i:0;a:9:{s:8:"response";s:6:"latest";s:8:"download";s:49:"http://cs.wordpress.org/wordpress-3.5.1-cs_CZ.zip";s:6:"locale";s:5:"cs_CZ";s:8:"packages";a:4:{s:4:"full";s:49:"http://cs.wordpress.org/wordpress-3.5.1-cs_CZ.zip";s:10:"no_content";b:0;s:11:"new_bundled";b:0;s:7:"partial";b:0;}s:7:"current";s:5:"3.5.1";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.5";s:15:"partial_version";b:0;}}}
 }}}
 With `local_package` set:
 {{{
 http://api.wordpress.org/core/version-
 check/1.6/?version=3.5.1&php=5.2.14&locale=cs_CZ&mysql=5.0.45&local_package=cs_CZ&blogs=1&users=1&multisite_enabled=0
 }}}
 Response:
 {{{
 a:1:{s:6:"offers";a:2:{i:0;a:9:{s:8:"response";s:6:"latest";s:8:"download";s:49:"http://cs.wordpress.org/wordpress-3.5.1-cs_CZ.zip";s:6:"locale";s:5:"cs_CZ";s:8:"packages";a:4:{s:4:"full";s:49:"http://cs.wordpress.org/wordpress-3.5.1-cs_CZ.zip";s:10:"no_content";b:0;s:11:"new_bundled";b:0;s:7:"partial";b:0;}s:7:"current";s:5:"3.5.1";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.5";s:15:"partial_version";b:0;}i:1;a:9:{s:8:"response";s:6:"latest";s:8:"download";s:40:"http://wordpress.org/wordpress-3.5.1.zip";s:6:"locale";s:5:"en_US";s:8:"packages";a:4:{s:4:"full";s:40:"http://wordpress.org/wordpress-3.5.1.zip";s:10:"no_content";s:51:"http://wordpress.org/wordpress-3.5.1
 -no-
 content.zip";s:11:"new_bundled";s:52:"http://wordpress.org/wordpress-3.5.1
 -new-
 bundled.zip";s:7:"partial";b:0;}s:7:"current";s:5:"3.5.1";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.5";s:15:"partial_version";b:0;}}}
 }}}

 Note `"offers";a:1` (Czech version only) vs. `"offers";a:2` (both Czech
 and English versions).

 If I change `version` from 3.5.1 to 3.5 or 3.4.2 though (anything earlier
 then the current stable release), the API returns both English and Czech
 versions, regardless of `local_package` value.

 However, this sounds different from the original issue in the description
 and comment:3 (the inability to install Czech version after upgrading to
 English version), which I could not reproduce.

 After completing the steps from comment:3, I get update notifications for
 both Czech and English 3.5.1 package. If I update to 3.5.1-en_US, I only
 get the ability to re-install or download the Czech version (the English
 version disappears), as you describe in comment:6.

 Note that the Updates screen has a 60 seconds timeout before refreshing
 the data: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
 includes/update.php#L37 [[BR]]
 When testing, I set the `$timeout` value in line 38 to 0, so that I could
 see the results immediately.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23113#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list