wp/wp-includes/ms-network.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    94 		 * @param int $id Network ID.
    94 		 * @param int $id Network ID.
    95 		 */
    95 		 */
    96 		do_action( 'clean_network_cache', $id );
    96 		do_action( 'clean_network_cache', $id );
    97 	}
    97 	}
    98 
    98 
    99 	wp_cache_set( 'last_changed', microtime(), 'networks' );
    99 	wp_cache_set_last_changed( 'networks' );
   100 }
   100 }
   101 
   101 
   102 /**
   102 /**
   103  * Updates the network cache of given networks.
   103  * Updates the network cache of given networks.
   104  *
   104  *
   120 
   120 
   121 /**
   121 /**
   122  * Adds any networks from the given IDs to the cache that do not already exist in cache.
   122  * Adds any networks from the given IDs to the cache that do not already exist in cache.
   123  *
   123  *
   124  * @since 4.6.0
   124  * @since 4.6.0
   125  * @access private
   125  * @since 6.1.0 This function is no longer marked as "private".
   126  *
   126  *
   127  * @see update_network_cache()
   127  * @see update_network_cache()
   128  * @global wpdb $wpdb WordPress database abstraction object.
   128  * @global wpdb $wpdb WordPress database abstraction object.
   129  *
   129  *
   130  * @param array $network_ids Array of network IDs.
   130  * @param array $network_ids Array of network IDs.