PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | inc/functions/options.php +2 -2 1.10 → trunk View file →
@@ -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 }