PluginProbe
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization / trunk
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization vtrunk
4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 2.5.5 2.5.6 2.5.7 3.0.0 3.0.1 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.11.0 3.11.1 3.11.2 3.11.3 3.12.0 All 135 releases
← All changes | inc/v2/PageProfiler/Storage/Transients.php +2 -2 4.2.5 → trunk View file →
@@ -64,12 +64,12 @@
64 64 /**
65 65 * Retrieves data from a transient.
66 66 *
67 67 * @param string $key The key to retrieve data for.
68 - * @return mixed The stored data or false if the transient doesn't exist or has expired.
68 + * @return array<string, mixed>|false The stored data or false if the transient doesn't exist or has expired.
69 69 */
70 70 public function get( string $key ) {
71 - return get_transient( $this->get_key( $key ) );
71 + return self::normalize_value( get_transient( $this->get_key( $key ) ) );
72 72 }
73 73
74 74 /**
75 75 * Deletes a specific transient.