Changeset 38636 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 09/20/2016 09:38:08 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-blogs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r38596 r38636 1089 1089 * @since 4.6.0 1090 1090 * 1091 * @global WP_Network $current_site 1092 * 1091 1093 * @param WP_Network|int|null $network Optional. Network to retrieve. Default is the current network. 1092 1094 * @return WP_Network|null The network object or null if not found. 1093 1095 */ 1094 1096 function get_network( $network = null ) { 1095 $current_site = get_current_site();1097 global $current_site; 1096 1098 if ( empty( $network ) && isset( $current_site ) ) { 1097 1099 $network = $current_site;
Note: See TracChangeset
for help on using the changeset viewer.