Changeset 1491986
- Timestamp:
- 09/07/2016 07:06:41 PM (9 years ago)
- Location:
- unbounce
- Files:
-
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
unbounce/tags/1.0.29/UBConfig.php
r1488407 r1491986 5 5 const UB_PLUGIN_NAME = 'ub-wordpress'; 6 6 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 7 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.2 7';8 const UB_VERSION = '1.0.2 7';7 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.29'; 8 const UB_VERSION = '1.0.29'; 9 9 10 10 // Option keys -
unbounce/tags/1.0.29/UBDiagnostics.php
r1488407 r1491986 29 29 'PHP Version' => phpversion(), 30 30 'WordPress Version' => UBDiagnostics::wordpress_version(), 31 'Unbounce Plugin Version' => '1.0.2 7',31 'Unbounce Plugin Version' => '1.0.29', 32 32 'Permalink Structure' => get_option('permalink_structure', ''), 33 33 'Domain' => $domain, -
unbounce/tags/1.0.29/UBUtil.php
r1274818 r1491986 86 86 } 87 87 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 88 104 } 89 105 ?> -
unbounce/tags/1.0.29/Unbounce-Page.php
r1488407 r1491986 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.0.2 76 Version: 1.0.29 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com … … 94 94 UBLogger::debug("ignoring request to URL " . $current_url); 95 95 } 96 elseif(is_user_logged_in() && UBUtil::is_wordpress_preview($_GET)) { 97 UBLogger::debug("Serving Wordpress Preview instead of landing page on root"); 98 } 96 99 elseif ($url_purpose == 'HealthCheck') { 97 100 if (UBConfig::domain_with_port() !== UBUtil::array_fetch($_SERVER, 'HTTP_HOST')) { -
unbounce/tags/1.0.29/readme.txt
r1488407 r1491986 4 4 Requires at least: 4.1.5 5 5 Tested up to: 4.6 6 Stable tag: 1.0.2 76 Stable tag: 1.0.29 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 94 94 95 95 == Changelog == 96 97 = 1.0.28 = 98 * Disables the unbounce plugin when editing drafts as a logged in user. 96 99 97 100 = 1.0.27 = -
unbounce/tags/1.0.29/templates/main_authorized_footer.php
r1488407 r1491986 19 19 </a> 20 20 <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.2 7</p>21 <p class="ub-version">Unbounce Version 1.0.29</p> -
unbounce/tags/1.0.29/templates/main_unauthorized_footer.php
r1488407 r1491986 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.0.2 7</p>7 <p class="ub-version">Unbounce Version 1.0.29</p> -
unbounce/trunk/UBConfig.php
r1488407 r1491986 5 5 const UB_PLUGIN_NAME = 'ub-wordpress'; 6 6 const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP'; 7 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.2 7';8 const UB_VERSION = '1.0.2 7';7 const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.29'; 8 const UB_VERSION = '1.0.29'; 9 9 10 10 // Option keys -
unbounce/trunk/UBDiagnostics.php
r1488407 r1491986 29 29 'PHP Version' => phpversion(), 30 30 'WordPress Version' => UBDiagnostics::wordpress_version(), 31 'Unbounce Plugin Version' => '1.0.2 7',31 'Unbounce Plugin Version' => '1.0.29', 32 32 'Permalink Structure' => get_option('permalink_structure', ''), 33 33 'Domain' => $domain, -
unbounce/trunk/UBUtil.php
r1274818 r1491986 86 86 } 87 87 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 88 104 } 89 105 ?> -
unbounce/trunk/Unbounce-Page.php
r1488407 r1491986 4 4 Plugin URI: http://unbounce.com 5 5 Description: Unbounce is the most powerful standalone landing page builder available. 6 Version: 1.0.2 76 Version: 1.0.29 7 7 Author: Unbounce 8 8 Author URI: http://unbounce.com … … 94 94 UBLogger::debug("ignoring request to URL " . $current_url); 95 95 } 96 elseif(is_user_logged_in() && UBUtil::is_wordpress_preview($_GET)) { 97 UBLogger::debug("Serving Wordpress Preview instead of landing page on root"); 98 } 96 99 elseif ($url_purpose == 'HealthCheck') { 97 100 if (UBConfig::domain_with_port() !== UBUtil::array_fetch($_SERVER, 'HTTP_HOST')) { -
unbounce/trunk/readme.txt
r1488407 r1491986 4 4 Requires at least: 4.1.5 5 5 Tested up to: 4.6 6 Stable tag: 1.0.2 76 Stable tag: 1.0.29 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 94 94 95 95 == Changelog == 96 97 = 1.0.28 = 98 * Disables the unbounce plugin when editing drafts as a logged in user. 96 99 97 100 = 1.0.27 = -
unbounce/trunk/templates/main_authorized_footer.php
r1488407 r1491986 19 19 </a> 20 20 <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.2 7</p>21 <p class="ub-version">Unbounce Version 1.0.29</p> -
unbounce/trunk/templates/main_unauthorized_footer.php
r1488407 r1491986 5 5 Click here for troubleshooting and plugin diagnostics 6 6 </a> 7 <p class="ub-version">Unbounce Version 1.0.2 7</p>7 <p class="ub-version">Unbounce Version 1.0.29</p>
Note: See TracChangeset
for help on using the changeset viewer.