[wp-trac] [WordPress Trac] #31318: options-general.php have "Site Language" set to (current view language) but should be (site language)

WordPress Trac noreply at wordpress.org
Thu Dec 3 15:18:35 UTC 2015


#31318: options-general.php have "Site Language" set to (current view language) but
should be (site language)
-------------------------------------------------+-------------------------
 Reporter:  Profforg                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  I18N                                 |  Release
 Severity:  normal                               |     Version:  4.0
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  refresh needs-testing                          |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch needs-
     refresh needs-testing


Comment:

 I'd say this is a one liner, just replacing `$locale = get_locale(); `
 with `$locale = get_option( 'WPLANG' );`.

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


More information about the wp-trac mailing list