• This code below is viewable in the source of every web page. I have updated all wordpress and plugins versions, installed the jQuery merge fix for now and tried disabling all plugins. I have searched the database and the website files/within files and manually looked at every admin and content record/setting I can. I’m unable to find the source of this alert pop just saying “ok”. Any ideas to remove?

    `<script type=”text/javascript”>
    function codeAddress() {
    alert(‘ok’);
    }
    window.onload = codeAddress;
    </script><script type=”text/javascript”>
    function codeAddress() {
    alert(‘ok’);
    }
    window.onload = codeAddress;
    </script>

    • This topic was modified 4 years, 5 months ago by toddtig.
    • This topic was modified 4 years, 5 months ago by t-p.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter toddtig

    (@toddtig)

    Seems this was located in the functions.php file. Strange it would not find when searching in files or IDE. Also client has no idea how this was added to the files. Any suggestions?

    Moderator t-p

    (@t-p)

    Seems this was located in the functions.php file.

    functions.php of your active theme?

    If so, possibly it was added by the person who set it up, or by your theme….?

    Thread Starter toddtig

    (@toddtig)

    Yes, it was part of the active theme. The website has operated for months without this issue. It seems to have arisen as part of the latest wordpress 5.5.1 update. Weird.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alert “ok” pop on all pages’ is closed to new replies.