Plugin Directory

Changeset 1491986


Ignore:
Timestamp:
09/07/2016 07:06:41 PM (9 years ago)
Author:
unbouncewordpress
Message:

Releasing version 1.0.29

Location:
unbounce
Files:
14 edited
1 copied

Legend:

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

    r1488407 r1491986  
    55  const UB_PLUGIN_NAME           = 'ub-wordpress';
    66  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
    7   const UB_USER_AGENT            = 'Unbounce WP Plugin 1.0.27';
    8   const UB_VERSION               = '1.0.27';
     7  const UB_USER_AGENT            = 'Unbounce WP Plugin 1.0.29';
     8  const UB_VERSION               = '1.0.29';
    99
    1010  // Option keys
  • unbounce/tags/1.0.29/UBDiagnostics.php

    r1488407 r1491986  
    2929      'PHP Version'             => phpversion(),
    3030      'WordPress Version'       => UBDiagnostics::wordpress_version(),
    31       'Unbounce Plugin Version' => '1.0.27',
     31      'Unbounce Plugin Version' => '1.0.29',
    3232      'Permalink Structure'     => get_option('permalink_structure', ''),
    3333      'Domain'                  => $domain,
  • unbounce/tags/1.0.29/UBUtil.php

    r1274818 r1491986  
    8686  }
    8787
     88  /**
     89   * Checks if the current page is a preview page (from on GET parameters).
     90   *
     91   * This is needed because Wordpress's is_preview() is only true for pages that
     92   * are already published.
     93   *
     94   * This should return true when:
     95   *   - previewing posts
     96   *   - previewing pages
     97   *   - previewing drafts (of posts & pages)
     98   */
     99  public static function is_wordpress_preview($get_params) {
     100    return isset($get_params['preview'])
     101      && (isset($get_params['p']) || isset($get_params['page_id']) || isset($get_params['preview_id']));
     102  }
     103
    88104}
    89105?>
  • unbounce/tags/1.0.29/Unbounce-Page.php

    r1488407 r1491986  
    44Plugin URI: http://unbounce.com
    55Description: Unbounce is the most powerful standalone landing page builder available.
    6 Version: 1.0.27
     6Version: 1.0.29
    77Author: Unbounce
    88Author URI: http://unbounce.com
     
    9494    UBLogger::debug("ignoring request to URL " . $current_url);
    9595  }
     96  elseif(is_user_logged_in() && UBUtil::is_wordpress_preview($_GET)) {
     97    UBLogger::debug("Serving Wordpress Preview instead of landing page on root");
     98  }
    9699  elseif ($url_purpose == 'HealthCheck') {
    97100    if (UBConfig::domain_with_port() !== UBUtil::array_fetch($_SERVER, 'HTTP_HOST')) {
  • unbounce/tags/1.0.29/readme.txt

    r1488407 r1491986  
    44Requires at least: 4.1.5
    55Tested up to: 4.6
    6 Stable tag: 1.0.27
     6Stable tag: 1.0.29
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494
    9595== Changelog ==
     96
     97= 1.0.28 =
     98* Disables the unbounce plugin when editing drafts as a logged in user.
    9699
    97100= 1.0.27 =
  • unbounce/tags/1.0.29/templates/main_authorized_footer.php

    r1488407 r1491986  
    1919</a>
    2020<br/><a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">Click here for troubleshooting and plugin diagnostics</a>
    21 <p class="ub-version">Unbounce Version 1.0.27</p>
     21<p class="ub-version">Unbounce Version 1.0.29</p>
  • unbounce/tags/1.0.29/templates/main_unauthorized_footer.php

    r1488407 r1491986  
    55  Click here for troubleshooting and plugin diagnostics
    66</a>
    7 <p class="ub-version">Unbounce Version 1.0.27</p>
     7<p class="ub-version">Unbounce Version 1.0.29</p>
  • unbounce/trunk/UBConfig.php

    r1488407 r1491986  
    55  const UB_PLUGIN_NAME           = 'ub-wordpress';
    66  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
    7   const UB_USER_AGENT            = 'Unbounce WP Plugin 1.0.27';
    8   const UB_VERSION               = '1.0.27';
     7  const UB_USER_AGENT            = 'Unbounce WP Plugin 1.0.29';
     8  const UB_VERSION               = '1.0.29';
    99
    1010  // Option keys
  • unbounce/trunk/UBDiagnostics.php

    r1488407 r1491986  
    2929      'PHP Version'             => phpversion(),
    3030      'WordPress Version'       => UBDiagnostics::wordpress_version(),
    31       'Unbounce Plugin Version' => '1.0.27',
     31      'Unbounce Plugin Version' => '1.0.29',
    3232      'Permalink Structure'     => get_option('permalink_structure', ''),
    3333      'Domain'                  => $domain,
  • unbounce/trunk/UBUtil.php

    r1274818 r1491986  
    8686  }
    8787
     88  /**
     89   * Checks if the current page is a preview page (from on GET parameters).
     90   *
     91   * This is needed because Wordpress's is_preview() is only true for pages that
     92   * are already published.
     93   *
     94   * This should return true when:
     95   *   - previewing posts
     96   *   - previewing pages
     97   *   - previewing drafts (of posts & pages)
     98   */
     99  public static function is_wordpress_preview($get_params) {
     100    return isset($get_params['preview'])
     101      && (isset($get_params['p']) || isset($get_params['page_id']) || isset($get_params['preview_id']));
     102  }
     103
    88104}
    89105?>
  • unbounce/trunk/Unbounce-Page.php

    r1488407 r1491986  
    44Plugin URI: http://unbounce.com
    55Description: Unbounce is the most powerful standalone landing page builder available.
    6 Version: 1.0.27
     6Version: 1.0.29
    77Author: Unbounce
    88Author URI: http://unbounce.com
     
    9494    UBLogger::debug("ignoring request to URL " . $current_url);
    9595  }
     96  elseif(is_user_logged_in() && UBUtil::is_wordpress_preview($_GET)) {
     97    UBLogger::debug("Serving Wordpress Preview instead of landing page on root");
     98  }
    9699  elseif ($url_purpose == 'HealthCheck') {
    97100    if (UBConfig::domain_with_port() !== UBUtil::array_fetch($_SERVER, 'HTTP_HOST')) {
  • unbounce/trunk/readme.txt

    r1488407 r1491986  
    44Requires at least: 4.1.5
    55Tested up to: 4.6
    6 Stable tag: 1.0.27
     6Stable tag: 1.0.29
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494
    9595== Changelog ==
     96
     97= 1.0.28 =
     98* Disables the unbounce plugin when editing drafts as a logged in user.
    9699
    97100= 1.0.27 =
  • unbounce/trunk/templates/main_authorized_footer.php

    r1488407 r1491986  
    1919</a>
    2020<br/><a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">Click here for troubleshooting and plugin diagnostics</a>
    21 <p class="ub-version">Unbounce Version 1.0.27</p>
     21<p class="ub-version">Unbounce Version 1.0.29</p>
  • unbounce/trunk/templates/main_unauthorized_footer.php

    r1488407 r1491986  
    55  Click here for troubleshooting and plugin diagnostics
    66</a>
    7 <p class="ub-version">Unbounce Version 1.0.27</p>
     7<p class="ub-version">Unbounce Version 1.0.29</p>
Note: See TracChangeset for help on using the changeset viewer.