[wp-trac] [WordPress Trac] #38485: Some part of the UI can be in the wrong language (edge cases)

WordPress Trac noreply at wordpress.org
Tue Nov 1 15:52:09 UTC 2016


#38485: Some part of the UI can be in the wrong language (edge cases)
-----------------------------------------+-------------------------
 Reporter:  afercia                      |       Owner:  swissspidy
     Type:  defect (bug)                 |      Status:  reopened
 Priority:  high                         |   Milestone:  4.7
Component:  I18N                         |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:
-----------------------------------------+-------------------------

Comment (by eirikurn):

 Here's the stack trace:

 {{{#!php
 <b>Fatal error</b>: Uncaught Error: Call to undefined function
 wp_get_current_user() in /srv/www/wp/wp-includes/l10n.php:92
 Stack trace:
 #0 /srv/www/wp/wp-includes/l10n.php(868): get_user_locale()
 #1 /srv/www/wp/wp-includes/l10n.php(896): _load_textdomain_just_in_time
 ('vip-scanner')
 #2 /srv/www/wp/wp-includes/l10n.php(122): get_translations_for_domain
 ('vip-scanner')
 #3 /srv/www/wp/wp-includes/l10n.php(202): translate('Name of theme', 'vip-
 scanner')
 #4 /srv/www/wp-content/plugins/vip-scanner/vip-scanner/config-vip-scanner-
 wpcom-form.php(6): __('Name of theme', 'vip-scanner')
 #5 /srv/www/wp-content/plugins/vip-scanner/vip-scanner/config-vip-
 scanner.php(4): include_once('/srv/www/wp-con...')
 #6 /srv/www/wp-content/plugins/vip-scanner/vip-scanner.php(47):
 require_once('/srv/www/wp-con...')
 #7 /srv/www/wp/wp-settings.php(263): include_once('/srv/www/wp-con...')
 #8 /srv/www/wp-config.php(97): require_once('/srv/www/wp/wp-...')
 #9 /srv/www/wp/wp-load.php(42): require_once('/srv/www/wp-con...')
 #10 /srv/www/wp/wp-admin/admin.php(31): re in <b>/srv/www/wp/wp-
 includes/l10n.php</b> on line <b>92</b>
 }}}

 I just verified that this also broke the staging site of another of our
 VIP sites. So I would think that all vendors running vip-quickstart are
 unable to log into the admin after tonight.

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


More information about the wp-trac mailing list