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

WordPress Trac noreply at wordpress.org
Thu Nov 3 22:30:15 UTC 2016


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

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


Comment:

 r39127 is causing a fatal error in Customize Posts plugin:

 {{{
 Uncaught Error: Call to undefined function get_user_by() in /srv/www
 /wordpress-develop/src/wp-includes/l10n.php:96
 Stack trace:
 #0 /srv/www/wordpress-develop/src/wp-includes/l10n.php(713):
 get_user_locale()
 #1 /srv/www/wordpress-develop/src/wp-content/plugins/customize-posts/php
 /class-customize-posts-plugin.php(55): load_plugin_textdomain('customize-
 posts')
 #2 /srv/www/wordpress-develop/src/wp-content/plugins/customize-posts
 /customize-posts.php(34): Customize_Posts_Plugin->__construct()
 #3 /srv/www/wordpress-develop/src/wp-settings.php(298):
 include_once('/srv/www/wordpr...')
 #4 /srv/www/wordpress-develop/src/wp-config.php(114):
 require_once('/srv/www/wordpr...')
 #5 /srv/www/wordpress-develop/src/wp-load.php(37):
 require_once('/srv/www/wordpr...')
 #6 /srv/www/wordpress-develop/src/wp-admin/admin.php(31):
 require_once('/srv/www/wordpr...')
 #7 /srv/www/wordpress-develop/src/wp-admin/customize.php(13):
 require_once('/srv/www/wordpr...')
 #8 {main}
   thrown in <b>/srv/www/wordpress-develop/src/wp-includes/l10n.php
 }}}

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


More information about the wp-trac mailing list