• Resolved Doobeedoo

    (@doobeedoo)


    Hello,

    Publipress settings: Authors can “Edit”, “Publish”, “Edit published” pages, and Admin>”Unfiltered html” checked.

    Authors cannot save a Divi page containing an iframe, there is an error when saving.
    The error is not here when I remove the iframe, we can save the page properly.

    What could I do?

    Many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @doobeedoo

    Thanks for contacting us.

    Are you on multisite environment?

    Thread Starter Doobeedoo

    (@doobeedoo)

    Hi @rizaardiyanto

    No, I’m on a single site.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @doobeedoo I suspect this is something related to Divi.

    Can you please apply this code using Code Snippet plugin or on your function.php? This code to detect if the current user have unfiltered_html or not:

    function show_unfiltered_html_notice() {
    if (current_user_can('unfiltered_html')) {
    echo '<div class="notice notice-warning"><p>You have the <strong>unfiltered_html</strong> capability.</p></div>';
    } else {
    echo '<div class="notice notice-info"><p>You <strong>do not</strong> have the <strong>unfiltered_html</strong> capability.</p></div>';
    }
    }
    add_action('admin_notices', 'show_unfiltered_html_notice');

    The result will something like this:

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks for using PublishPress. We’ve not heard from you in over a month so are closing this for now. Please follow up if this remains an issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.