← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Rollback.php
+2
-2
3.10.14
→
3.11.10
View file →
| @@ -120,10 +120,10 @@ | ||
| 120 | 120 | $url = $this->get_versions_api_url(); |
| 121 | 121 | if ( empty( $url ) ) { |
| 122 | 122 | return []; |
| 123 | 123 | } |
| 124 | - $response = function_exists( 'wp_remote_get_wp_remote_get' ) | |
| 125 | - ? wp_remote_get_wp_remote_get( $url ) | |
| 124 | + $response = function_exists( 'vip_safe_wp_remote_get' ) | |
| 125 | + ? vip_safe_wp_remote_get( $url ) | |
| 126 | 126 | : wp_remote_get( $url ); //phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get |
| 127 | 127 | if ( is_wp_error( $response ) ) { |
| 128 | 128 | return array(); |
| 129 | 129 | } |