Plugin Directory

Changeset 1589658


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

Ran content through autop function instead of using apply_filters due to conflict with Beaver Builder

Location:
simple-popup-content
Files:
2 edited

Legend:

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

    r1589656 r1589658  
    1818    function rmspc_get_view( $popup_id ) {
    1919
    20        
     20
    2121
    2222        $the_popup = get_post($popup_id);
    2323        $content = $the_popup->post_content;
    2424    //$content = apply_filters ("the_content", $the_popup->post_content);
    25     //$content = wpautop($the_popup);
     25    $content = wpautop($content);
    2626    //$content = shortcode_unautop($content);
    2727
  • simple-popup-content/trunk/src/functions/template-tags/general.php

    r1589656 r1589658  
    1818    function rmspc_get_view( $popup_id ) {
    1919
    20        
     20
    2121
    2222        $the_popup = get_post($popup_id);
    2323        $content = $the_popup->post_content;
    2424    //$content = apply_filters ("the_content", $the_popup->post_content);
    25     //$content = wpautop($the_popup);
     25    $content = wpautop($content);
    2626    //$content = shortcode_unautop($content);
    2727
Note: See TracChangeset for help on using the changeset viewer.