Plugin Directory

Changeset 1589656


Ignore:
Timestamp:
02/06/2017 02:45:55 AM (9 years ago)
Author:
davidrichied
Message:

Fixed conflict with Beaver Builder and apply_filters

Location:
simple-popup-content
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-popup-content/tags/1.3/src/functions/template-tags/general.php

    r1589609 r1589656  
    2121
    2222        $the_popup = get_post($popup_id);
    23     $content = apply_filters ("the_content", $the_popup->post_content);
     23        $content = $the_popup->post_content;
     24    //$content = apply_filters ("the_content", $the_popup->post_content);
     25    //$content = wpautop($the_popup);
     26    //$content = shortcode_unautop($content);
     27
    2428    $popup_content = '<div style="display:none"><div id="simple-popup-content">';
    2529    $popup_content .= $content;
  • simple-popup-content/trunk/src/functions/template-tags/general.php

    r1589609 r1589656  
    2121
    2222        $the_popup = get_post($popup_id);
    23     $content = apply_filters ("the_content", $the_popup->post_content);
     23        $content = $the_popup->post_content;
     24    //$content = apply_filters ("the_content", $the_popup->post_content);
     25    //$content = wpautop($the_popup);
     26    //$content = shortcode_unautop($content);
     27
    2428    $popup_content = '<div style="display:none"><div id="simple-popup-content">';
    2529    $popup_content .= $content;
Note: See TracChangeset for help on using the changeset viewer.