Plugin Directory

Changeset 3008330


Ignore:
Timestamp:
12/11/2023 06:52:08 PM (16 months ago)
Author:
unbouncewordpress
Message:

Releasing version 1.1.2

Location:
unbounce
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • unbounce/tags/1.1.2/UBConfig.php

    r3005252 r3008330  
    88    const UB_PLUGIN_NAME           = 'ub-wordpress';
    99    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';
    1212
    1313    // WP Admin Pages
     
    362362                    $result_array = UBConfig::fetch_proxyable_url_set($domain, $proxyable_url_set_etag, $ps_domain);
    363363
    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                   
    366376                    if ($routes_status['status'] == 'NEW') {
    367377                              $domain_info['proxyable_url_set'] = $proxyable_url_set_new;
     
    428438
    429439        // 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')) {
    431442            $cache_max_time = UBConfig::DYNAMIC_CONFIG_FAILURE_TIMEOUT;
    432443        }
     
    442453                if ($can_fetch) {
    443454                    $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                   
    446473                    if ($routes_status['status'] === 'NEW') {
    447474                        $dynamic_config['request_header_allow'] = $request_header_allow_new;
  • unbounce/tags/1.1.2/UBDiagnostics.php

    r3005252 r3008330  
    114114        'PHP Version'             => phpversion(),
    115115        'WordPress Version'       => UBDiagnostics::wordpress_version(),
    116         'Unbounce Plugin Version' => '1.1.1',
     116        'Unbounce Plugin Version' => '1.1.2',
    117117        'Checks'                  => self::pp(UBDiagnostics::checks($domain, $domain_info)),
    118118        'Options'                 => self::pp(UBDiagnostics::ub_options()),
     
    192192            'php'                 => phpversion(),
    193193            'wordpress'           => UBDiagnostics::wordpress_version(),
    194             'plugin_version'      => '1.1.1',
     194            'plugin_version'      => '1.1.2',
    195195            'curl_installed'      => self::is_curl_installed(),
    196196            'xml_installed'       => self::is_xml_installed(),
  • unbounce/tags/1.1.2/UBHTTP.php

    r3005252 r3008330  
    339339        $headers = array(
    340340            'host' => UBConfig::page_server_domain(),
    341             'x-ub-wordpress-plugin-version' => '1.1.1'
     341            'x-ub-wordpress-plugin-version' => '1.1.2'
    342342        );
    343343
  • unbounce/tags/1.1.2/Unbounce-Page.php

    r3005252 r3008330  
    44Plugin URI: http://unbounce.com
    55Description: Unbounce is the most powerful standalone landing page builder available.
    6 Version: 1.1.1
     6Version: 1.1.2
    77Author: Unbounce
    88Author URI: http://unbounce.com
  • unbounce/tags/1.1.2/readme.txt

    r3005252 r3008330  
    44Requires at least: 4.1.5
    55Tested up to: 6.4
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    104104== Changelog ==
    105105
     106= 1.1.2 =
     107* Eliminates PHP Warnings
     108
    106109= 1.1.1 =
    107110* 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  
    2222  Click here for troubleshooting and plugin diagnostics
    2323</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  
    55  Click here for troubleshooting and plugin diagnostics
    66</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  
    88    const UB_PLUGIN_NAME           = 'ub-wordpress';
    99    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';
    1212
    1313    // WP Admin Pages
     
    362362                    $result_array = UBConfig::fetch_proxyable_url_set($domain, $proxyable_url_set_etag, $ps_domain);
    363363
    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                   
    366376                    if ($routes_status['status'] == 'NEW') {
    367377                              $domain_info['proxyable_url_set'] = $proxyable_url_set_new;
     
    428438
    429439        // 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')) {
    431442            $cache_max_time = UBConfig::DYNAMIC_CONFIG_FAILURE_TIMEOUT;
    432443        }
     
    442453                if ($can_fetch) {
    443454                    $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                   
    446473                    if ($routes_status['status'] === 'NEW') {
    447474                        $dynamic_config['request_header_allow'] = $request_header_allow_new;
  • unbounce/trunk/UBDiagnostics.php

    r3005252 r3008330  
    114114        'PHP Version'             => phpversion(),
    115115        'WordPress Version'       => UBDiagnostics::wordpress_version(),
    116         'Unbounce Plugin Version' => '1.1.1',
     116        'Unbounce Plugin Version' => '1.1.2',
    117117        'Checks'                  => self::pp(UBDiagnostics::checks($domain, $domain_info)),
    118118        'Options'                 => self::pp(UBDiagnostics::ub_options()),
     
    192192            'php'                 => phpversion(),
    193193            'wordpress'           => UBDiagnostics::wordpress_version(),
    194             'plugin_version'      => '1.1.1',
     194            'plugin_version'      => '1.1.2',
    195195            'curl_installed'      => self::is_curl_installed(),
    196196            'xml_installed'       => self::is_xml_installed(),
  • unbounce/trunk/UBHTTP.php

    r3005252 r3008330  
    339339        $headers = array(
    340340            'host' => UBConfig::page_server_domain(),
    341             'x-ub-wordpress-plugin-version' => '1.1.1'
     341            'x-ub-wordpress-plugin-version' => '1.1.2'
    342342        );
    343343
  • unbounce/trunk/Unbounce-Page.php

    r3005252 r3008330  
    44Plugin URI: http://unbounce.com
    55Description: Unbounce is the most powerful standalone landing page builder available.
    6 Version: 1.1.1
     6Version: 1.1.2
    77Author: Unbounce
    88Author URI: http://unbounce.com
  • unbounce/trunk/readme.txt

    r3005252 r3008330  
    44Requires at least: 4.1.5
    55Tested up to: 6.4
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    104104== Changelog ==
    105105
     106= 1.1.2 =
     107* Eliminates PHP Warnings
     108
    106109= 1.1.1 =
    107110* Changes to the way the plugin filters headers and cookies using a dynamic configuration.
  • unbounce/trunk/templates/main_authorized_footer.php

    r3005252 r3008330  
    2222  Click here for troubleshooting and plugin diagnostics
    2323</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  
    55  Click here for troubleshooting and plugin diagnostics
    66</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.