Changeset 38388 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 08/26/2016 09:34:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r38232 r38388 1084 1084 * @since 4.6.0 1085 1085 * 1086 * @global WP_Network $current_site1087 *1088 1086 * @param WP_Network|int|null $network Optional. Network to retrieve. Default is the current network. 1089 1087 * @return WP_Network|null The network object or null if not found. 1090 1088 */ 1091 1089 function get_network( $network = null ) { 1092 global $current_site;1090 $current_site = get_current_site(); 1093 1091 if ( empty( $network ) && isset( $current_site ) ) { 1094 1092 $network = $current_site;
Note: See TracChangeset
for help on using the changeset viewer.