Changeset 2526264
- Timestamp:
- 05/04/2021 11:37:49 PM (5 years ago)
- Location:
- unbounce
- Files:
-
- 14 edited
- 1 copied
-
tags/1.0.47 (copied) (copied from unbounce/trunk)
-
tags/1.0.47/UBConfig.php (modified) (1 diff)
-
tags/1.0.47/UBDiagnostics.php (modified) (3 diffs)
-
tags/1.0.47/UBHTTP.php (modified) (2 diffs)
-
tags/1.0.47/Unbounce-Page.php (modified) (1 diff)
-
tags/1.0.47/readme.txt (modified) (7 diffs)
-
tags/1.0.47/templates/main_authorized_footer.php (modified) (1 diff)
-
tags/1.0.47/templates/main_unauthorized_footer.php (modified) (1 diff)
-
trunk/UBConfig.php (modified) (1 diff)
-
trunk/UBDiagnostics.php (modified) (3 diffs)
-
trunk/UBHTTP.php (modified) (2 diffs)
-
trunk/Unbounce-Page.php (modified) (1 diff)
-
trunk/readme.txt (modified) (7 diffs)
-
trunk/templates/main_authorized_footer.php (modified) (1 diff)
-
trunk/templates/main_unauthorized_footer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
unbounce/tags/1.0.47/UBConfig.php
r2309156 r2526264 6 6 const UB_PLUGIN_NAME = 'ub-wordpress'; 7 7 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 8 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.4 5';9 const UB_VERSION = '1.0.4 5';8 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.47'; 9 const UB_VERSION = '1.0.47'; 10 10 11 11 // Option keys -
unbounce/tags/1.0.47/UBDiagnostics.php
r2309156 r2526264 101 101 'PHP Version' => phpversion(), 102 102 'WordPress Version' => UBDiagnostics::wordpress_version(), 103 'Unbounce Plugin Version' => '1.0.4 5',103 'Unbounce Plugin Version' => '1.0.47', 104 104 'Checks' => self::pp(UBDiagnostics::checks($domain, $domain_info)), 105 105 'Options' => self::pp(UBDiagnostics::ub_options()), … … 141 141 } 142 142 143 p rivatestatic function wordpress_version()143 public static function wordpress_version() 144 144 { 145 145 global $wp_version; … … 179 179 'php' => phpversion(), 180 180 'wordpress' => UBDiagnostics::wordpress_version(), 181 'plugin_version' => '1.0.4 5',181 'plugin_version' => '1.0.47', 182 182 'curl_installed' => self::is_curl_installed(), 183 183 'xml_installed' => self::is_xml_installed(), -
unbounce/tags/1.0.47/UBHTTP.php
r2309156 r2526264 241 241 $forwarded_for, 242 242 $remote_ip 243 )); 243 ), UBHTTP::get_diagnostic_headers()); 244 244 245 return $filtered_h; 246 } 247 248 private static function get_diagnostic_headers() 249 { 250 $headers = array('X-UB-WordPress-Plugin-Version' => '1.0.47'); 251 252 try { 253 // OS info: 254 // - 's': Operating system name. eg. Linux 255 // - 'r': Release name. eg. 5.4.39-linuxkit 256 // - 'm': Machine type. eg. x86_64 257 $os_info = implode(' ', array_map('php_uname', ['s', 'r', 'm'])); 258 $curl_version = curl_version(); 259 $headers = array_merge($headers, array( 260 'X-UB-WordPress-WordPress-Version' => UBDiagnostics::wordpress_version(), 261 'X-UB-WordPress-PHP-Version' => phpversion(), 262 'X-UB-WordPress-CURL-Version' => $curl_version['version'], 263 'X-UB-WordPress-SSL-Version' => $curl_version['ssl_version'], 264 'X-UB-WordPress-SNI-Support' => UBDiagnostics::hasSNI(), 265 'X-UB-WordPress-OS' => $os_info, 266 )); 267 } catch (Throwable $e) { 268 UBLogger::warning('Failed to build diagnostic headers: ' . $e); 269 } 270 271 return $headers; 245 272 } 246 273 … … 428 455 if ($http_method == 'GET' && $path == '/_ubhc') { 429 456 return 'HealthCheck'; 457 } elseif (preg_match("/^\/_ub\/[\w.-]/", $path)) { 458 return "GenericProxyableRequest"; 430 459 } elseif ($http_method == "POST" && 431 460 preg_match("/^\/(fsn|fsg|fs)\/?$/", $path)) { -
unbounce/tags/1.0.47/Unbounce-Page.php
r2309156 r2526264 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.0.4 56 Version: 1.0.47 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com -
unbounce/tags/1.0.47/readme.txt
r2309156 r2526264 3 3 Tags: Unbounce, AB testing, A/B testing, split testing, CRO, conversion optimization, wordpress landing page, wp landing pages, splash pages, landing pages, squeeze pages, lead gen, lead generation, email list, responsive landing pages, templates, inbound marketing, ppc, analytics 4 4 Requires at least: 4.1.5 5 Tested up to: 5. 46 Stable tag: 1.0.4 55 Tested up to: 5.7 6 Stable tag: 1.0.47 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 83 83 = Does this plugin send any data to Unbounce? = 84 84 85 No, not by default. This plugin as an optional "debug" mode which will send diagnostic information to 86 Unbounce when switched on. This feature is disabled when you install the plugin. An Unbounce Customer 87 Success Coach may request that you turn the debug feature on if you are experiencing issues with the plugin 88 to help track down the issue. 85 The plugin sends some information along with each request to Unbounce's servers, containing the 86 version number of the plugin and of some system components, to help us diagnose issues and to track 87 version usage. It also has an optional "debug" mode which will send diagnostic information to 88 Unbounce when switched on. This feature is disabled when you install the plugin. An Unbounce 89 Customer Success Coach may request that you turn the debug feature on if you are experiencing issues 90 with the plugin to help track down the issue. 89 91 90 92 = Unbounce Pages are loading, but my conversions are not being tracked = … … 102 104 == Changelog == 103 105 106 = 1.0.47 = 107 * Tested with WP 5.7 108 109 = 1.0.46 = 110 * Include some diagnostic information in request headers to help us diagnose issues 111 * Support for client side stats 112 104 113 = 1.0.45 = 105 114 * Documentation updates to reflect minimum PHP requirements (currently 7.2) … … 129 138 130 139 = 1.0.38 = 131 * Adds an option (ub-use-curl) to opt-out of using cURL as a proxying client, the alternative being wp_remo re_request140 * Adds an option (ub-use-curl) to opt-out of using cURL as a proxying client, the alternative being wp_remote_request 132 141 133 142 = 1.0.37 = … … 143 152 = 1.0.34 = 144 153 * New diagnostics entry for SSL's SNI Support on WordPress installations 145 * Better146 154 147 155 = 1.0.33 = … … 161 169 162 170 = 1.0.28 = 163 * Disables the unbounce plugin when editing drafts as a logged in user.171 * Disables the Unbounce plugin when editing drafts as a logged in user. 164 172 165 173 = 1.0.27 = … … 174 182 = 1.0.24 = 175 183 * Improves support for installations using SSL 176 * is_ssl() has higher precedence for determin g protocol of content to serve184 * is_ssl() has higher precedence for determining protocol of content to serve 177 185 178 186 = 1.0.23 = -
unbounce/tags/1.0.47/templates/main_authorized_footer.php
r2309156 r2526264 22 22 Click here for troubleshooting and plugin diagnostics 23 23 </a> 24 <p class="ub-version">Unbounce Version 1.0.4 5</p>24 <p class="ub-version">Unbounce Version 1.0.47</p> -
unbounce/tags/1.0.47/templates/main_unauthorized_footer.php
r2309156 r2526264 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.0.4 5</p>7 <p class="ub-version">Unbounce Version 1.0.47</p> -
unbounce/trunk/UBConfig.php
r2309156 r2526264 6 6 const UB_PLUGIN_NAME = 'ub-wordpress'; 7 7 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 8 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.4 5';9 const UB_VERSION = '1.0.4 5';8 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.47'; 9 const UB_VERSION = '1.0.47'; 10 10 11 11 // Option keys -
unbounce/trunk/UBDiagnostics.php
r2309156 r2526264 101 101 'PHP Version' => phpversion(), 102 102 'WordPress Version' => UBDiagnostics::wordpress_version(), 103 'Unbounce Plugin Version' => '1.0.4 5',103 'Unbounce Plugin Version' => '1.0.47', 104 104 'Checks' => self::pp(UBDiagnostics::checks($domain, $domain_info)), 105 105 'Options' => self::pp(UBDiagnostics::ub_options()), … … 141 141 } 142 142 143 p rivatestatic function wordpress_version()143 public static function wordpress_version() 144 144 { 145 145 global $wp_version; … … 179 179 'php' => phpversion(), 180 180 'wordpress' => UBDiagnostics::wordpress_version(), 181 'plugin_version' => '1.0.4 5',181 'plugin_version' => '1.0.47', 182 182 'curl_installed' => self::is_curl_installed(), 183 183 'xml_installed' => self::is_xml_installed(), -
unbounce/trunk/UBHTTP.php
r2309156 r2526264 241 241 $forwarded_for, 242 242 $remote_ip 243 )); 243 ), UBHTTP::get_diagnostic_headers()); 244 244 245 return $filtered_h; 246 } 247 248 private static function get_diagnostic_headers() 249 { 250 $headers = array('X-UB-WordPress-Plugin-Version' => '1.0.47'); 251 252 try { 253 // OS info: 254 // - 's': Operating system name. eg. Linux 255 // - 'r': Release name. eg. 5.4.39-linuxkit 256 // - 'm': Machine type. eg. x86_64 257 $os_info = implode(' ', array_map('php_uname', ['s', 'r', 'm'])); 258 $curl_version = curl_version(); 259 $headers = array_merge($headers, array( 260 'X-UB-WordPress-WordPress-Version' => UBDiagnostics::wordpress_version(), 261 'X-UB-WordPress-PHP-Version' => phpversion(), 262 'X-UB-WordPress-CURL-Version' => $curl_version['version'], 263 'X-UB-WordPress-SSL-Version' => $curl_version['ssl_version'], 264 'X-UB-WordPress-SNI-Support' => UBDiagnostics::hasSNI(), 265 'X-UB-WordPress-OS' => $os_info, 266 )); 267 } catch (Throwable $e) { 268 UBLogger::warning('Failed to build diagnostic headers: ' . $e); 269 } 270 271 return $headers; 245 272 } 246 273 … … 428 455 if ($http_method == 'GET' && $path == '/_ubhc') { 429 456 return 'HealthCheck'; 457 } elseif (preg_match("/^\/_ub\/[\w.-]/", $path)) { 458 return "GenericProxyableRequest"; 430 459 } elseif ($http_method == "POST" && 431 460 preg_match("/^\/(fsn|fsg|fs)\/?$/", $path)) { -
unbounce/trunk/Unbounce-Page.php
r2309156 r2526264 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.0.4 56 Version: 1.0.47 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com -
unbounce/trunk/readme.txt
r2309156 r2526264 3 3 Tags: Unbounce, AB testing, A/B testing, split testing, CRO, conversion optimization, wordpress landing page, wp landing pages, splash pages, landing pages, squeeze pages, lead gen, lead generation, email list, responsive landing pages, templates, inbound marketing, ppc, analytics 4 4 Requires at least: 4.1.5 5 Tested up to: 5. 46 Stable tag: 1.0.4 55 Tested up to: 5.7 6 Stable tag: 1.0.47 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 83 83 = Does this plugin send any data to Unbounce? = 84 84 85 No, not by default. This plugin as an optional "debug" mode which will send diagnostic information to 86 Unbounce when switched on. This feature is disabled when you install the plugin. An Unbounce Customer 87 Success Coach may request that you turn the debug feature on if you are experiencing issues with the plugin 88 to help track down the issue. 85 The plugin sends some information along with each request to Unbounce's servers, containing the 86 version number of the plugin and of some system components, to help us diagnose issues and to track 87 version usage. It also has an optional "debug" mode which will send diagnostic information to 88 Unbounce when switched on. This feature is disabled when you install the plugin. An Unbounce 89 Customer Success Coach may request that you turn the debug feature on if you are experiencing issues 90 with the plugin to help track down the issue. 89 91 90 92 = Unbounce Pages are loading, but my conversions are not being tracked = … … 102 104 == Changelog == 103 105 106 = 1.0.47 = 107 * Tested with WP 5.7 108 109 = 1.0.46 = 110 * Include some diagnostic information in request headers to help us diagnose issues 111 * Support for client side stats 112 104 113 = 1.0.45 = 105 114 * Documentation updates to reflect minimum PHP requirements (currently 7.2) … … 129 138 130 139 = 1.0.38 = 131 * Adds an option (ub-use-curl) to opt-out of using cURL as a proxying client, the alternative being wp_remo re_request140 * Adds an option (ub-use-curl) to opt-out of using cURL as a proxying client, the alternative being wp_remote_request 132 141 133 142 = 1.0.37 = … … 143 152 = 1.0.34 = 144 153 * New diagnostics entry for SSL's SNI Support on WordPress installations 145 * Better146 154 147 155 = 1.0.33 = … … 161 169 162 170 = 1.0.28 = 163 * Disables the unbounce plugin when editing drafts as a logged in user.171 * Disables the Unbounce plugin when editing drafts as a logged in user. 164 172 165 173 = 1.0.27 = … … 174 182 = 1.0.24 = 175 183 * Improves support for installations using SSL 176 * is_ssl() has higher precedence for determin g protocol of content to serve184 * is_ssl() has higher precedence for determining protocol of content to serve 177 185 178 186 = 1.0.23 = -
unbounce/trunk/templates/main_authorized_footer.php
r2309156 r2526264 22 22 Click here for troubleshooting and plugin diagnostics 23 23 </a> 24 <p class="ub-version">Unbounce Version 1.0.4 5</p>24 <p class="ub-version">Unbounce Version 1.0.47</p> -
unbounce/trunk/templates/main_unauthorized_footer.php
r2309156 r2526264 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.0.4 5</p>7 <p class="ub-version">Unbounce Version 1.0.47</p>
Note: See TracChangeset
for help on using the changeset viewer.