[wp-trac] [WordPress Trac] #36918: Multisite: Can't set en_US for language, when creating a new site

WordPress Trac noreply at wordpress.org
Mon Sep 26 18:38:34 UTC 2016


#36918: Multisite: Can't set en_US for language, when creating a new site
-------------------------------------+-------------------------------------
 Reporter:  arkimedia                |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.7
Component:  I18N                     |     Version:  4.4
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-unit-      |     Focuses:  administration,
  tests                              |  multisite
-------------------------------------+-------------------------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38655"]:
 {{{
 #!CommitTicketReference repository="" revision="38655"
 Multisite: Allow to set the site language of a new site to English.

 An empty string in `WPLANG` is used to define the site language as
 `en_US`. The `! empty()` check didn't catch this case so that
 `wpmu_create_blog()` fell back to the network setting.

 Fixes #36918.
 }}}

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


More information about the wp-trac mailing list