Fatal error(s) on direct script access.
Closed this issue · 1 comments
thefrosty commented
Calling a WordPress function like esc_html_e
in a conditional check for ! function_exists( 'add_action' )
as seen here: https://github.com/boogah/force-strong-passwords/blob/master/slt-force-strong-passwords.php#L25 usually means someone is trying to directly hit the file in which case esc_html_e
doesn't exist and will throw a fatal error.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.