Changeset 38849 for trunk/src/wp-includes/class-wp-network-query.php
- Timestamp:
- 10/21/2016 02:53:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network-query.php
r38768 r38849 210 210 // $args can include anything. Only use the args defined in the query_var_defaults to compute the key. 211 211 $key = md5( serialize( wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) ) ) ); 212 $last_changed = wp_cache_get( 'last_changed', 'networks' ); 213 if ( ! $last_changed ) { 214 $last_changed = microtime(); 215 wp_cache_set( 'last_changed', $last_changed, 'networks' ); 216 } 212 $last_changed = wp_cache_get_last_changed( 'networks' ); 217 213 218 214 $cache_key = "get_network_ids:$key:$last_changed";
Note: See TracChangeset
for help on using the changeset viewer.