Changeset 54345 for trunk/src/wp-includes/option.php
- Timestamp:
- 09/28/2022 01:42:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r54267 r54345 164 164 // Prevent non-existent options from triggering multiple queries. 165 165 $notoptions = wp_cache_get( 'notoptions', 'options' ); 166 167 // Prevent non-existent `notoptions` key from triggering multiple key lookups. 168 if ( ! is_array( $notoptions ) ) { 169 $notoptions = array(); 170 wp_cache_set( 'notoptions', $notoptions, 'options' ); 171 } 166 172 167 173 if ( isset( $notoptions[ $option ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.