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. Built from https://develop.svn.wordpress.org/trunk@41058 git-svn-id: http://core.svn.wordpress.org/trunk@40908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
81 KiB
81 KiB