Changeset 1262652
- Timestamp:
- 10/09/2015 06:54:05 PM (10 years ago)
- Location:
- marketing-optimizer/trunk
- Files:
-
- 4 edited
-
includes/class.mo_page_post_type.php (modified) (3 diffs)
-
includes/class.mo_post_type.php (modified) (2 diffs)
-
marketing-optimizer.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
marketing-optimizer/trunk/includes/class.mo_page_post_type.php
r1256781 r1262652 158 158 if (is_object($post) && $post->post_type == 'page') { 159 159 $mo_page_obj = mo_pages::instance($post->ID); 160 $variation_id = $mo_page_obj->get_current_variation(); 160 if(is_object($mo_page_obj)){ 161 $variation_id = $mo_page_obj->get_current_variation(); 162 161 163 $mo_settings_obj = new mo_settings(); 162 164 if ($mo_settings_obj->get_mo_lp_cache_compatible() == 'false' || isset($_GET['mo_page_variation_id']) || isset($_GET['t']) || count($mo_page_obj->get_variation_ids_arr()) >= 1) { … … 247 249 } 248 250 } 249 } 251 } 252 } 250 253 } 251 254 } … … 466 469 if (get_post_type($id) == 'page') { 467 470 if ($pagenow != 'edit.php') { 471 468 472 $mo_page_obj = mo_pages::instance($id); 469 $v_id = $mo_page_obj->get_current_variation(); 473 if (is_object($mo_page_obj)) { 474 $v_id = $mo_page_obj->get_current_variation(); 475 }else{ 476 $v_id = 0; 477 } 470 478 } else { 471 479 $v_id = 0; -
marketing-optimizer/trunk/includes/class.mo_post_type.php
r1242758 r1262652 958 958 if (is_object ( $post ) && $post->post_type === $this->get_mo_pt_post_type()) { 959 959 $mo_obj = $this->get_obj_by_type($post->ID); 960 if(is_object($mo_obj)){ 960 961 if ($mo_settings_obj->get_mo_lp_cache_compatible () == 'false' || isset ( $_GET ['mo_page_variation_id'] ) || isset ( $_GET ['t'] ) || count ( $mo_obj->get_variation_ids_arr () ) > 0) { 961 962 if (is_null ( $variation_id )) { … … 1009 1010 } 1010 1011 } 1012 } 1011 1013 } 1012 1014 } -
marketing-optimizer/trunk/marketing-optimizer.php
r1256781 r1262652 4 4 * Plugin Name: Marketing Optimizer for Wordpress Plugin 5 5 * URI: http://www.marketingoptimizer.com/?apcid=8381 6 * Version: 2015101 06 * Version: 20151011 7 7 * Description: Create Landing Pages for Wordpress 8 8 * Author: Marketing Optimizer, customercare@marketingoptimizer.com … … 24 24 CONST MO_DIRECTORY = 'marketing-optimizer'; 25 25 26 public static $plugin_version = '2015 0930';26 public static $plugin_version = '20151011'; 27 27 28 28 public static $plugin_name = 'marketing-optimizer'; -
marketing-optimizer/trunk/readme.txt
r1256781 r1262652 95 95 96 96 == Changelog == 97 = Version 201501009 = 98 * #bugFix fixed issue with plugin compatiblilty that create faux pages without a post id was causing an error. 97 99 = Version 20150930 = 98 * #bugFix fixed issue with plugin compatiblilty that create pages that are not truly pageswas causing an error.100 * #bugFix fixed issue with plugin compatiblilty that create faux pages without a post id was causing an error. 99 101 = Version 20150910 = 100 102 * #bugFix fixed issue with notice being thrown accessing static property as non static.
Note: See TracChangeset
for help on using the changeset viewer.