Changeset 38232 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 08/09/2016 06:11:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r38217 r38232 482 482 * @return WP_Site|null The site object or null if not found. 483 483 */ 484 function get_site( &$site = null ) {484 function get_site( $site = null ) { 485 485 if ( empty( $site ) ) { 486 486 $site = get_current_blog_id(); … … 538 538 * @since 4.6.0 539 539 * 540 * @param array $sites Array of site objects , passed by reference.541 */ 542 function update_site_cache( &$sites ) {540 * @param array $sites Array of site objects. 541 */ 542 function update_site_cache( $sites ) { 543 543 if ( ! $sites ) { 544 544 return; … … 1086 1086 * @global WP_Network $current_site 1087 1087 * 1088 * @param WP_Network|int|null $network Network to retrieve, passed by reference.1088 * @param WP_Network|int|null $network Optional. Network to retrieve. Default is the current network. 1089 1089 * @return WP_Network|null The network object or null if not found. 1090 1090 */ 1091 function get_network( &$network = null ) {1091 function get_network( $network = null ) { 1092 1092 global $current_site; 1093 1093 if ( empty( $network ) && isset( $current_site ) ) {
Note: See TracChangeset
for help on using the changeset viewer.