Support » Plugin: Content Warning » [Plugin: Content Warning] After clicking "Vstup" (Enter) it redirects to google

Viewing 1 replies (of 1 total)
  • I was having this same problem tonight- found a temporary solution (until the next update) by editing main.php in the plugin editor:

    change

    ‘enter_url’ => (empty($enter_url) ? ‘http://www.google.com’ : $enter_url),’

    to

    ‘enter_url’ => (empty($enter_url) ? get_permalink() : $enter_url),’

    There is a blink and reload after the person clicks ENTER, but at least it goes back to the page they were on. Also, the setting will have to be empty for the URL selection for this to work.

    Thanks for the plugin Jerry!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Content Warning] After clicking "Vstup" (Enter) it redirects to google’ is closed to new replies.