Changeset 3008330
- Timestamp:
- 12/11/2023 06:52:08 PM (16 months ago)
- Location:
- unbounce
- Files:
-
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
unbounce/tags/1.1.2/UBConfig.php
r3005252 r3008330 8 8 const UB_PLUGIN_NAME = 'ub-wordpress'; 9 9 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 10 const UB_USER_AGENT = 'Unbounce WP Plugin 1.1. 1';11 const UB_VERSION = '1.1. 1';10 const UB_USER_AGENT = 'Unbounce WP Plugin 1.1.2'; 11 const UB_VERSION = '1.1.2'; 12 12 13 13 // WP Admin Pages … … 362 362 $result_array = UBConfig::fetch_proxyable_url_set($domain, $proxyable_url_set_etag, $ps_domain); 363 363 364 list($routes_status, $etag, $max_age, $proxyable_url_set_new) = $result_array; 365 364 list( 365 $routes_status, 366 $etag, 367 $max_age, 368 $proxyable_url_set_new 369 ) = [ 370 $result_array[0] ?? null, 371 $result_array[1] ?? null, 372 $result_array[2] ?? null, 373 $result_array[3] ?? null 374 ]; 375 366 376 if ($routes_status['status'] == 'NEW') { 367 377 $domain_info['proxyable_url_set'] = $proxyable_url_set_new; … … 428 438 429 439 // regardless of dynamic_config_cache_timeout being set, if the last fetch failed or returned a 404, we want to try again in 20 minutes 430 if ($dynamic_config['last_status'] === 'FAILURE' || $dynamic_config['last_status'] === 'NONE') { 440 if (isset($dynamic_config['last_status']) && 441 ($dynamic_config['last_status'] === 'FAILURE' || $dynamic_config['last_status'] === 'NONE')) { 431 442 $cache_max_time = UBConfig::DYNAMIC_CONFIG_FAILURE_TIMEOUT; 432 443 } … … 442 453 if ($can_fetch) { 443 454 $result_array = UBConfig::fetch_dynamic_config($domain, $dynamic_config_etag); 444 list($routes_status, $etag, $max_age, $request_header_allow_new, $request_header_add_new, $request_cookie_allow_new, $response_header_allow_new) = $result_array; 445 455 list( 456 $routes_status, 457 $etag, 458 $max_age, 459 $request_header_allow_new, 460 $request_header_add_new, 461 $request_cookie_allow_new, 462 $response_header_allow_new 463 ) = [ 464 $result_array[0] ?? null, 465 $result_array[1] ?? null, 466 $result_array[2] ?? null, 467 $result_array[3] ?? null, 468 $result_array[4] ?? null, 469 $result_array[5] ?? null, 470 $result_array[6] ?? null 471 ]; 472 446 473 if ($routes_status['status'] === 'NEW') { 447 474 $dynamic_config['request_header_allow'] = $request_header_allow_new; -
unbounce/tags/1.1.2/UBDiagnostics.php
r3005252 r3008330 114 114 'PHP Version' => phpversion(), 115 115 'WordPress Version' => UBDiagnostics::wordpress_version(), 116 'Unbounce Plugin Version' => '1.1. 1',116 'Unbounce Plugin Version' => '1.1.2', 117 117 'Checks' => self::pp(UBDiagnostics::checks($domain, $domain_info)), 118 118 'Options' => self::pp(UBDiagnostics::ub_options()), … … 192 192 'php' => phpversion(), 193 193 'wordpress' => UBDiagnostics::wordpress_version(), 194 'plugin_version' => '1.1. 1',194 'plugin_version' => '1.1.2', 195 195 'curl_installed' => self::is_curl_installed(), 196 196 'xml_installed' => self::is_xml_installed(), -
unbounce/tags/1.1.2/UBHTTP.php
r3005252 r3008330 339 339 $headers = array( 340 340 'host' => UBConfig::page_server_domain(), 341 'x-ub-wordpress-plugin-version' => '1.1. 1'341 'x-ub-wordpress-plugin-version' => '1.1.2' 342 342 ); 343 343 -
unbounce/tags/1.1.2/Unbounce-Page.php
r3005252 r3008330 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com -
unbounce/tags/1.1.2/readme.txt
r3005252 r3008330 4 4 Requires at least: 4.1.5 5 5 Tested up to: 6.4 6 Stable tag: 1.1. 16 Stable tag: 1.1.2 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 104 104 == Changelog == 105 105 106 = 1.1.2 = 107 * Eliminates PHP Warnings 108 106 109 = 1.1.1 = 107 110 * Changes to the way the plugin filters headers and cookies using a dynamic configuration. -
unbounce/tags/1.1.2/templates/main_authorized_footer.php
r3005252 r3008330 22 22 Click here for troubleshooting and plugin diagnostics 23 23 </a> 24 <p class="ub-version">Unbounce Version 1.1. 1</p>24 <p class="ub-version">Unbounce Version 1.1.2</p> -
unbounce/tags/1.1.2/templates/main_unauthorized_footer.php
r3005252 r3008330 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.1. 1</p>7 <p class="ub-version">Unbounce Version 1.1.2</p> -
unbounce/trunk/UBConfig.php
r3005252 r3008330 8 8 const UB_PLUGIN_NAME = 'ub-wordpress'; 9 9 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 10 const UB_USER_AGENT = 'Unbounce WP Plugin 1.1. 1';11 const UB_VERSION = '1.1. 1';10 const UB_USER_AGENT = 'Unbounce WP Plugin 1.1.2'; 11 const UB_VERSION = '1.1.2'; 12 12 13 13 // WP Admin Pages … … 362 362 $result_array = UBConfig::fetch_proxyable_url_set($domain, $proxyable_url_set_etag, $ps_domain); 363 363 364 list($routes_status, $etag, $max_age, $proxyable_url_set_new) = $result_array; 365 364 list( 365 $routes_status, 366 $etag, 367 $max_age, 368 $proxyable_url_set_new 369 ) = [ 370 $result_array[0] ?? null, 371 $result_array[1] ?? null, 372 $result_array[2] ?? null, 373 $result_array[3] ?? null 374 ]; 375 366 376 if ($routes_status['status'] == 'NEW') { 367 377 $domain_info['proxyable_url_set'] = $proxyable_url_set_new; … … 428 438 429 439 // regardless of dynamic_config_cache_timeout being set, if the last fetch failed or returned a 404, we want to try again in 20 minutes 430 if ($dynamic_config['last_status'] === 'FAILURE' || $dynamic_config['last_status'] === 'NONE') { 440 if (isset($dynamic_config['last_status']) && 441 ($dynamic_config['last_status'] === 'FAILURE' || $dynamic_config['last_status'] === 'NONE')) { 431 442 $cache_max_time = UBConfig::DYNAMIC_CONFIG_FAILURE_TIMEOUT; 432 443 } … … 442 453 if ($can_fetch) { 443 454 $result_array = UBConfig::fetch_dynamic_config($domain, $dynamic_config_etag); 444 list($routes_status, $etag, $max_age, $request_header_allow_new, $request_header_add_new, $request_cookie_allow_new, $response_header_allow_new) = $result_array; 445 455 list( 456 $routes_status, 457 $etag, 458 $max_age, 459 $request_header_allow_new, 460 $request_header_add_new, 461 $request_cookie_allow_new, 462 $response_header_allow_new 463 ) = [ 464 $result_array[0] ?? null, 465 $result_array[1] ?? null, 466 $result_array[2] ?? null, 467 $result_array[3] ?? null, 468 $result_array[4] ?? null, 469 $result_array[5] ?? null, 470 $result_array[6] ?? null 471 ]; 472 446 473 if ($routes_status['status'] === 'NEW') { 447 474 $dynamic_config['request_header_allow'] = $request_header_allow_new; -
unbounce/trunk/UBDiagnostics.php
r3005252 r3008330 114 114 'PHP Version' => phpversion(), 115 115 'WordPress Version' => UBDiagnostics::wordpress_version(), 116 'Unbounce Plugin Version' => '1.1. 1',116 'Unbounce Plugin Version' => '1.1.2', 117 117 'Checks' => self::pp(UBDiagnostics::checks($domain, $domain_info)), 118 118 'Options' => self::pp(UBDiagnostics::ub_options()), … … 192 192 'php' => phpversion(), 193 193 'wordpress' => UBDiagnostics::wordpress_version(), 194 'plugin_version' => '1.1. 1',194 'plugin_version' => '1.1.2', 195 195 'curl_installed' => self::is_curl_installed(), 196 196 'xml_installed' => self::is_xml_installed(), -
unbounce/trunk/UBHTTP.php
r3005252 r3008330 339 339 $headers = array( 340 340 'host' => UBConfig::page_server_domain(), 341 'x-ub-wordpress-plugin-version' => '1.1. 1'341 'x-ub-wordpress-plugin-version' => '1.1.2' 342 342 ); 343 343 -
unbounce/trunk/Unbounce-Page.php
r3005252 r3008330 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com -
unbounce/trunk/readme.txt
r3005252 r3008330 4 4 Requires at least: 4.1.5 5 5 Tested up to: 6.4 6 Stable tag: 1.1. 16 Stable tag: 1.1.2 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 104 104 == Changelog == 105 105 106 = 1.1.2 = 107 * Eliminates PHP Warnings 108 106 109 = 1.1.1 = 107 110 * Changes to the way the plugin filters headers and cookies using a dynamic configuration. -
unbounce/trunk/templates/main_authorized_footer.php
r3005252 r3008330 22 22 Click here for troubleshooting and plugin diagnostics 23 23 </a> 24 <p class="ub-version">Unbounce Version 1.1. 1</p>24 <p class="ub-version">Unbounce Version 1.1.2</p> -
unbounce/trunk/templates/main_unauthorized_footer.php
r3005252 r3008330 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.1. 1</p>7 <p class="ub-version">Unbounce Version 1.1.2</p>
Note: See TracChangeset
for help on using the changeset viewer.