Changeset 49130
- Timestamp:
- 10/12/2020 03:45:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r49127 r49130 1737 1737 1738 1738 if ( $network_admin ) { 1739 // If the network admin email address corresponds to a user, switch to their locale 1739 // If the network admin email address corresponds to a user, switch to their locale. 1740 1740 $switched_locale = switch_to_locale( get_user_locale( $network_admin ) ); 1741 1741 } else { 1742 // Otherwise switch to the locale of the current site 1742 // Otherwise switch to the locale of the current site. 1743 1743 $switched_locale = switch_to_locale( get_locale() ); 1744 1744 }
Note: See TracChangeset
for help on using the changeset viewer.