• Hey ?? Just found that CF7 forms don’t render as expected in the Modal Popup.

    Looks like the wp_kses_post function wrapping $content in line 72 of /render/modalPopup.php is causing the issue. Removing that function and simply echoing the content works as expected.

    I’m assuming wp_kses_post is there for security purposes, but if you can find a way to be secure without removing the ability to add in forms, that would be great.

    On a similar note, the esc_attr function wrapping $btntext (lines 51, 52, 59 & 60), means we can’t add any html to the button title (such as <b>Button Title</b>).

    An update to this would be appreciated. Thanks ??

  • The topic ‘CF7 Shortcodes not working in Modal Popup’ is closed to new replies.