[wp-trac] [WordPress Trac] #30049: wp_load_translations_early does not without WPLANG defined
WordPress Trac
noreply at wordpress.org
Tue May 3 21:14:52 UTC 2016
#30049: wp_load_translations_early does not without WPLANG defined
--------------------------+----------------------
Reporter: szepe.viktor | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: I18N | Version: 4.0
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by ocean90):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Replying to [comment:7 temuag]:
> You need to make sure $wp_local_package = 'YOUR LOCAL'; is defined at
the end of wp-includes/version.php
This global variable is defined when you download a localized package from
a local site like hu.wordpress.org.
Sadly, there is nothing we can do. We can't access the locale option
because `wp_maintenance()` is loaded before a database connection can be
initialized. `wp_load_translations_early()` is also used for database
errors so we can't access the database here too.
Closing as a wontfix, but feel free to reopen if you have a patch ready.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30049#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list