| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | return; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | // Get values. |
| 50 | - $not_exist = array(); | |
| 50 | + $not_exist = []; | |
| 51 | 51 | $option_names = array_flip( array_flip( $option_names ) ); |
| 52 | 52 | $options = ''; |
| 53 | 53 | |
| 54 | 54 | foreach ( $prefixes as $prefix ) { |
| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | // Cache the options that don't exist in the DB. |
| 94 | 94 | $notoptions = wp_cache_get( $notoptions_key, $cache_group ); |
| 95 | - $notoptions = is_array( $notoptions ) ? $notoptions : array(); | |
| 95 | + $notoptions = is_array( $notoptions ) ? $notoptions : []; | |
| 96 | 96 | $notoptions = array_merge( $notoptions, $not_exist ); |
| 97 | 97 | |
| 98 | 98 | wp_cache_set( $notoptions_key, $notoptions, $cache_group ); |
| 99 | 99 | } |