← All changes
|
vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-review-request.php
+2
-2
2.2.5
→
3.4.4
View file →
| @@ -233,9 +233,9 @@ | ||
| 233 | 233 | |
| 234 | 234 | update_option( $this->plugin_slug . '-review-dismissed', 1 ); |
| 235 | 235 | |
| 236 | 236 | // Send success response if called via AJAX. |
| 237 | - if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { | |
| 237 | + if ( function_exists( 'wp_doing_ajax' ) && wp_doing_ajax() ) { | |
| 238 | 238 | wp_send_json_success( 1 ); |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | 241 | } |
| @@ -274,9 +274,9 @@ | ||
| 274 | 274 | * @return string Review URL |
| 275 | 275 | */ |
| 276 | 276 | public function get_support_url() { |
| 277 | 277 | |
| 278 | - return 'https://convertkit.com/support'; | |
| 278 | + return 'https://kit.com/support'; | |
| 279 | 279 | |
| 280 | 280 | } |
| 281 | 281 | |
| 282 | 282 | } |