[wp-trac] [WordPress Trac] #29783: User Admin Language

WordPress Trac noreply at wordpress.org
Thu Oct 27 03:42:11 UTC 2016


#29783: User Admin Language
-------------------------------------------------+-------------------------
 Reporter:  faevilangel                          |       Owner:  ocean90
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  I18N                                 |     Version:  4.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note needs-testing                             |  administration
-------------------------------------------------+-------------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38976"]:
 {{{
 #!CommitTicketReference repository="" revision="38976"
 I18N: Fix a PHP fatal when `get_locale()` is called before `$wpdb` is
 ready.

 If WPDB needs to bail early, it loads the translations, which need to load
 the locale. Without WPDB, we can't get any database options, so can only
 rely on what's been loaded so far.

 Fixes #29783.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29783#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list