• Resolved rvsolutions

    (@rvsolutions)


    Hi,

    I have been using this plugin for quite some time and it is working as expected.
    But recently when I updated the plugin all the popup content is shown as HTML code.
    I tried creating new popup but the issue is same.
    I am not a coder so is there any fix or solution for this?
    Any help wold be greatly appreciated.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • thinkforward

    (@thinkforward)

    seeing the same thing as of the latest update

    dccs52

    (@dccs52)

    Same, rolled back using WP Rollback for the moment

    Plugin Author Daniel Iser

    (@danieliser)

    @dccs52, @thinkforward, @rvsolutions – Good catch early, thanks for the fast report.

    I think its related to our attempt to escape some outputs, but not sure we need to looking back on the content itself.

    Can someone remove the esc_html() from this line and retest: https://github.com/PopupMaker/Popup-Maker/blob/master/includes/functions/popups/template.php#L42

    Will push a patch with that removed as it wasn’t there before. Would love to know that it is the only regression change we need to make though so I’m not pushing update after update.

    dccs52

    (@dccs52)

    Just tried the removing the line highlighted,

    https://github.com/PopupMaker/Popup-Maker/blob/master/includes/functions/popups/template.php#L42

    It causes the popup to appear blank.

    Our popup has CF7 in it, rolled back and works fine in previous version.

    CRE8

    (@cre8gr)

    same thing here. even the inhouse newsletter subscription form function of the popupmaker outputs html text.

    • This reply was modified 4 years ago by CRE8.
    holdusback

    (@holdusback)

    Same issue… can someone please help with this ? My user cant login anymore.

    speedyp

    (@speedyp)

    Same here. Have now rolled back, but we have a LOT of clients using this plugin, so preparing for a busy day πŸ™

    Plugin Author Daniel Iser

    (@danieliser)

    Hey everyone, ok so I’m gonna revert these 2 changes as they are literally the only ones that can have any effect on popup rendering between current and last versions.

    https://github.com/PopupMaker/Popup-Maker/commit/90c26c079f89a0538e9ea02857d9a60e460b4043

    Would have loved to get a confirmation that reverting only the one on pum_popup_content function would fix it but without that confirmation from someone I’ll revert both and make a note to add back the other if someone does end up confirming that only one change is needed.

    v1.16.7 is going out in the next few minutes which is a full reversion on front end changes. You may want to purge caches just to be safe as well.

    speedyp

    (@speedyp)

    Thanks for the quick response Daniel πŸ™‚

    Plugin Author Daniel Iser

    (@danieliser)

    @speedyp – Not a problem. I generally try to keep an eye on tickets within first few hours of any update we push. At the scale of our user base, problems tend to show up pretty quickly.

    Appreciate the reports, would love some confirmations now that its out.

    Also if anyone has the time to test it proper, I’d love to find out if we can leave 2 of the 3 escape functions in place. Not that they need it as they are mostly sanitized or generated content already, but WP Code Style scanner loves to highlight them otherwise.

    Plugin Author Daniel Iser

    (@danieliser)

    @holdusback, @cre8gr, @dccs52, @thinkforward, @rvsolutions – Please try with the latest version (1.16.7).

    CRE8

    (@cre8gr)

    Great! It works fine now!

    Plugin Author Daniel Iser

    (@danieliser)

    @cre8gr – Thanks for the confirmation. Have a feeling it was just the content being ran through esc_html

    holdusback

    (@holdusback)

    Will wait a few day to see if everything is stable, for now I roll backed the folder from the version before

    Maria T

    (@mariatogonon)

    Hi @holdusback – we understand.

    Just letting you know that we’ve received lots of users feedback and updating Popup Maker plugin to its latest version will now fix the issue.

    We hope everything goes well for you.

    Have a great day! πŸ™‚

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘All Popup Content is shown as HTML code after update’ is closed to new replies.