← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php
+6
-8
3.10.12
→
3.7.2
View file →
| @@ -700,13 +700,12 @@ | ||
| 700 | 700 | private function get_disclosure_labels() { |
| 701 | 701 | $disclosure_new_labels = apply_filters( $this->product->get_slug() . '_themeisle_sdk_disclosure_content_labels', [], $this->product ); |
| 702 | 702 | $disclosure_labels = array_merge( |
| 703 | 703 | [ |
| 704 | - 'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No email address or IP addresses are transmitted after you submit the survey.', | |
| 704 | + 'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.', | |
| 705 | 705 | 'items' => [ |
| 706 | 706 | sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ), |
| 707 | 707 | sprintf( '%sCurrent website:%s %s %s %s', '<strong>', '</strong>', '<code>', get_site_url(), '</code>' ), |
| 708 | - sprintf( '%sUsage time:%s %s %s%s', '<strong>', '</strong>', '<code>', ( time() - $this->product->get_install_time() ), 's</code>' ), | |
| 709 | 708 | sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ), |
| 710 | 709 | ], |
| 711 | 710 | ], |
| 712 | 711 | $disclosure_new_labels |
| @@ -785,14 +784,13 @@ | ||
| 785 | 784 | * |
| 786 | 785 | * @return bool Is the request succesfull? |
| 787 | 786 | */ |
| 788 | 787 | protected function call_api( $attributes ) { |
| 789 | - $slug = $this->product->get_slug(); | |
| 790 | - $version = $this->product->get_version(); | |
| 791 | - $attributes['slug'] = $slug; | |
| 792 | - $attributes['version'] = $version; | |
| 793 | - $attributes['url'] = get_site_url(); | |
| 794 | - $attributes['active_time'] = ( time() - $this->product->get_install_time() ); | |
| 788 | + $slug = $this->product->get_slug(); | |
| 789 | + $version = $this->product->get_version(); | |
| 790 | + $attributes['slug'] = $slug; | |
| 791 | + $attributes['version'] = $version; | |
| 792 | + $attributes['url'] = get_site_url(); | |
| 795 | 793 | |
| 796 | 794 | $response = wp_remote_post( |
| 797 | 795 | self::FEEDBACK_ENDPOINT, |
| 798 | 796 | array( |