I just read the new WP requirement of ThemeForest and I found out you need to use the Envato Theme Check plugin. Now my issue is why this is an error? (below)
WARNING: Found $_SERVER in the file templates/template-login.php. PHP Global Variable found. Ensure the context is safe and reliable. Line 39: 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
Why does the “redirect” an error? I get that code in WordPress codex here -> https://codex.wordpress.org/Function_Reference/wp_login_form
How did you fix yours? Anyone can enlighten me about this one?