← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Rollback.php
+1
-1
3.1.3
→
3.4.7
View file →
| @@ -166,9 +166,9 @@ | ||
| 166 | 166 | if ( $this->product->requires_license() && strlen( $license ) < 10 ) { |
| 167 | 167 | return ''; |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | - return sprintf( '%s?edd_action=get_versions&name=%s&url=%s&license=%s', $this->product->get_store_url(), urlencode( $this->product->get_name() ), urlencode( get_site_url() ), $license ); | |
| 170 | + return sprintf( '%slicense/versions/%s/%s/%s/%s', Product::API_URL, rawurlencode( $this->product->get_name() ), $license, urlencode( get_site_url() ), $this->product->get_version() ); | |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | /** |
| 174 | 174 | * Show the rollback links in the plugin page. |