Plugin Directory

Changeset 1787753


Ignore:
Timestamp:
12/15/2017 05:02:08 PM (8 years ago)
Author:
activeim
Message:

Update Divi Theme visual editor issues with saving, updated screenshots and readme file

Location:
marketing-optimizer
Files:
3 added
3 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • marketing-optimizer/trunk/includes/class.mo_post_type.php

    r1744151 r1787753  
    526526     */
    527527    public function mo_get_variation_content_for_editor($content, $post_id) {
     528       
    528529        global $post;
     530        $mo_obj = $this->get_obj_by_type($post_id);
     531        $v_id = $mo_obj->get_current_variation();
     532       
    529533        if (get_post_type($post_id) === $this->get_mo_pt_post_type()) {
    530             $mo_obj = $this->get_obj_by_type($post_id);
    531             $v_id = $mo_obj->get_current_variation();
    532 
     534           
    533535            try {
    534536                $content_tmp = $mo_obj->get_variation_property($v_id, 'content');
    535                 $content = ($content_tmp=="" && $v_id==0)?$post->post_content:$content_tmp;
     537                $content = ($content_tmp && $v_id===0)?$post->post_content:$content_tmp;
    536538            } catch (Exception $e) {
    537539                $content = '';
    538540            }
     541
    539542            return $content;
    540         }
     543           
     544        }
     545
    541546        return $content;
    542547    }
  • marketing-optimizer/trunk/marketing-optimizer.php

    r1748179 r1787753  
    33 * Plugin Name: Marketing Optimizer for Wordpress Plugin
    44 * URI: http://www.marketingoptimizer.com/?apcid=8381
    5  * Version: 20171017
     5 * Version: 20171215
    66 * Description: Create Landing Pages for Wordpress
    77 * Author: Marketing Optimizer, customercare@marketingoptimizer.com
     
    2323    CONST MO_DIRECTORY = 'marketing-optimizer';
    2424
    25     public static $plugin_version = '20171017';
     25    public static $plugin_version = '20171215';
    2626
    2727    public static $plugin_name = 'marketing-optimizer';
  • marketing-optimizer/trunk/readme.txt

    r1748179 r1787753  
    1041045. Landing Pages A/B Testing
    1051056. Landing Pages Templates
     1067. Phone Tracking Settings
     1078. Landing Pages / Pop Up / Call-To-Action Settings
     1089. Shortcodes
    106109
    107110== Changelog ==
     111= Version 20171215 =
     112* #bugFix fixed error with Divi theme page builder, switching between front-end visual editor and regular page editor lost content
    108113= Version 20171017 =
    109114* #enhancement WordPress landing page banner and icon assets
Note: See TracChangeset for help on using the changeset viewer.