← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Logger.php
+2
-1
3.1.3
→
3.2.1
View file →
| @@ -151,9 +151,9 @@ | ||
| 151 | 151 | $environment['theme'] = array(); |
| 152 | 152 | $environment['theme']['name'] = $theme->get( 'Name' ); |
| 153 | 153 | $environment['theme']['author'] = $theme->get( 'Author' ); |
| 154 | 154 | $environment['plugins'] = get_option( 'active_plugins' ); |
| 155 | - | |
| 155 | + global $wp_version; | |
| 156 | 156 | wp_remote_post( |
| 157 | 157 | self::TRACKING_ENDPOINT, |
| 158 | 158 | array( |
| 159 | 159 | 'method' => 'POST', |
| @@ -165,8 +165,9 @@ | ||
| 165 | 165 | 'body' => array( |
| 166 | 166 | 'site' => get_site_url(), |
| 167 | 167 | 'slug' => $this->product->get_slug(), |
| 168 | 168 | 'version' => $this->product->get_version(), |
| 169 | + 'wp_version' => $wp_version, | |
| 169 | 170 | 'data' => apply_filters( $this->product->get_key() . '_logger_data', array() ), |
| 170 | 171 | 'environment' => $environment, |
| 171 | 172 | 'license' => apply_filters( $this->product->get_key() . '_license_status', '' ), |
| 172 | 173 | ), |