PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | jetpack_vendor/automattic/jetpack-status/src/class-cache.php +1 -2 12.4.2 → 16.3-a.7 View file →
@@ -24,9 +24,9 @@
24 24 * Get a value from the cache.
25 25 *
26 26 * @param string $key Key to fetch.
27 27 * @param mixed $default Default value to return if the key is not set.
28 - * @returns mixed Data.
28 + * @return mixed Data.
29 29 */
30 30 public static function get( $key, $default = null ) {
31 31 $blog_id = get_current_blog_id();
32 32 return isset( self::$cache[ $blog_id ] ) && array_key_exists( $key, self::$cache[ $blog_id ] ) ? self::$cache[ $blog_id ][ $key ] : $default;
@@ -50,6 +50,5 @@
50 50 */
51 51 public static function clear() {
52 52 self::$cache = array();
53 53 }
54 -
55 54 }