[wp-trac] [WordPress Trac] #40503: Use get_network_option in wpmu_create_blog
WordPress Trac
noreply at wordpress.org
Fri Jul 14 21:07:19 UTC 2017
#40503: Use get_network_option in wpmu_create_blog
--------------------------------------+------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"41058"]:
{{{
#!CommitTicketReference repository="" revision="41058"
Multisite: Use `get_network_option()` for language in
`wpmu_create_blog()`.
Before this changeset, the language of a new site would always result in
the language of the current network, regardless of the `$site_id`
parameter passed that actually determines the network for the site. Now
the correct `WPLANG` value is used in such cases.
Alongside this change, a few minor documentation changes around the
function have been made to account for the current naming conventions of
sites and networks.
Props spacedmonkey.
Fixes #40503.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40503#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list