• I have many custom pages that display content using included php templates, rather than content typed into the WP Page editor.

    I just discovered that when I use the built-in search, it returns results that include javascript in my custom templates. This doesn’t only provide a bad user experience, but could pose a security threat by exposing sensitive code.

    Is there a way to stop search from indexing <script…></script within templates?

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    may be it’s caused by a plugin
    deactivate them all and reactivate one by one – testing in between

Viewing 1 replies (of 1 total)

The topic ‘Search results include php code’ is closed to new replies.