Changeset 1210486
- Timestamp:
- 07/31/2015 05:44:17 PM (11 years ago)
- Location:
- marketing-optimizer/trunk
- Files:
-
- 5 edited
-
admin/main-settings-page.php (modified) (1 diff)
-
includes/class.mo_metaboxes.php (modified) (1 diff)
-
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/admin/main-settings-page.php
r1199398 r1210486 32 32 if (isset ( $_POST ['mo_password'] )) { 33 33 $mo_settings_obj->set_mo_password ( $_POST ['mo_password'] ); 34 } 35 if(isset($_POST['mo_username']) && isset($_POST['mo_password'])){ 36 require_once (WP_PLUGIN_DIR . '/marketing-optimizer/includes/'.'class.mo_autoloader.php'); 37 $mo_api_auth_obj = new mo_api_auth($mo_settings_obj->get_mo_username(), $mo_settings_obj->get_mo_password()); 38 $mo_api_auth_obj->set_is_new_session(true)->execute(); 39 $decodec_result = json_decode($mo_api_auth_obj->get_response(), true); 40 $mo_settings_obj->set_mo_account_id($decodec_result['data']['account_id']); 34 41 } 35 42 if (! isset ( $_POST ['mo_phone_tracking'] )) { -
marketing-optimizer/trunk/includes/class.mo_metaboxes.php
r1199398 r1210486 129 129 $v_id = $mo_obj->get_current_variation(); 130 130 $mo_description = $mo_obj->get_variation_property($v_id, 'description'); 131 $mo_description = ($mo_description=="" && $v_id==0)?$post->post_title:$mo_description; 131 132 echo "<div id='" . $this->get_mo_short_type() . "_description_div'><div id='description_wrap'><input placeholder='" . __('Add Description for this variation.', mo_plugin::MO_LP_TEXT_DOMAIN) . "' type='text' class='description' name='description' id='description' value='{$mo_description}' style='width:100%;line-height:1.7em'></div></div>"; 132 133 } -
marketing-optimizer/trunk/includes/class.mo_post_type.php
r1199398 r1210486 523 523 */ 524 524 public function mo_get_variation_content_for_editor($content, $post_id) { 525 global $post; 525 526 if (get_post_type($post_id) === $this->get_mo_pt_post_type()) { 526 527 $mo_obj = $this->get_obj_by_type($post_id); … … 529 530 try { 530 531 $content = $mo_obj->get_variation_property($v_id, 'content'); 532 $content = ($content_tmp=="" && $v_id==0)?$post->post_content:$content; 531 533 } catch (Exception $e) { 532 534 $content = ''; -
marketing-optimizer/trunk/marketing-optimizer.php
r1199398 r1210486 4 4 * Plugin Name: Marketing Optimizer for Wordpress Plugin 5 5 * URI: http://www.marketingoptimizer.com/?apcid=8381 6 * Version: 201507 156 * Version: 20150731 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 = '201507 15';26 public static $plugin_version = '20150731'; 27 27 28 28 public static $plugin_name = 'marketing-optimizer'; -
marketing-optimizer/trunk/readme.txt
r1199398 r1210486 95 95 96 96 == Changelog == 97 = Version 20150715 = 98 * #enhancement added more relevant names to calls-to-action and pop up templates. 99 * #enhancement added click to call to Marketing Optmizer visitor level tracking numbers. 100 = Version 20150713 = 101 * #bugFix custom fields remove for CTA. 102 * #bugFix update Pop-Ups preview image. 97 = Version 20150731 = 98 * #bugFix fixed an issue with content not being shown in editor when activating the plugin. 99 * #bugFix fixed an issue when changing marketing optimizer integration login credentials it was not updating the account id. 103 100 = Version 20150710 = 104 101 * #bugFix fixed issue with variation testing stats not displaying correctly.
Note: See TracChangeset
for help on using the changeset viewer.