← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Endpoint.php
+1
-1
3.1.3
→
3.4.2
View file →
| @@ -272,9 +272,9 @@ | ||
| 272 | 272 | } |
| 273 | 273 | |
| 274 | 274 | // fetch the calculated hashes. |
| 275 | 275 | if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) { |
| 276 | - return new WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) ); | |
| 276 | + return new \WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) ); | |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | 279 | $hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true ); |
| 280 | 280 | ksort( $hashes ); |