• Resolved greenlline

    (@greenlline)


    I need to put in link href a javascript call, but Wordfence keeps removing the javascript call, what should I do to be able to put there the javascript call without Wordfence removing it?

    This is what I need to do:

    <a href="javascript: openMarker(1, 1)">Avenida Peseta, Spain</a>

    where openMarker is a function that opens a marker popup on a map.

    Thank you for a great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    It could be something related to “unfiltered_html” capability, what was the user role trying to post this link? are you running a single site or WordPress Network?

    Thanks.

    Hello hevada!

    I hope we were successful in helping you resolve your issue with Wordfence! Since we have not heard back from you in the past 2 weeks I will now be marking this support thread as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!
    Chloe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I enable back the possibility to put a javascript call in a link href?’ is closed to new replies.