[wp-trac] [WordPress Trac] #15677: It is not possible to install multiple variants of the same language
WordPress Trac
noreply at wordpress.org
Sun Aug 24 13:38:17 UTC 2014
#15677: It is not possible to install multiple variants of the same language
-------------------------------------+------------------
Reporter: caesarsgrunt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: I18N | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------
Comment (by jesin):
When installing WordPress with this patch, the "Information needed" screen
shows the following two database errors:
{{{
WordPress database error: [Table 'wordpress.wp_options' doesn't exist]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`)
VALUES ('_site_transient_timeout_available_translations', '1408896686',
'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`),
`option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
WordPress database error: [Table 'wordpress.wp_options' doesn't exist]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`)
VALUES ('_site_transient_available_translations',
'a:41:{s:2:\"ar\";a:8:{s:8:\"language\";s:2:\"ar\";s:7:\"version\";s:9:\"4.0-alpha\";s:7:\"updated\";s:19:\"2014-01-01
00:00:00[...]
}}}
This is because **wp-admin/install.php** calls
`wp_get_available_translations()` which tries to store the language data
as transients.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15677#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list