• This may be more of a feature request then a support question, but any alternatives to my issue are welcome.

    I’ve had an issue with a site and noticed through the WordPress editor that I’ve accidently saved with a wp_die outside of a conditional statement. Since there were no flags in the admin about using the function (though we do get a fatal PHP error warning), I only noticed when it was too late. Working in a plugin, this is fired on the login screen as well, so I’m being locked out of WordPress completely.

    Looking at the code behind wp_die, I’m wondering if we couldn’t add an extra wp_die_handler filter or some kind of validation to prevent a wp_die function when accessing the login with /wp-login.php?action=entered_recovery_mode.

    I do not have FTP credentials at this time, so the WordPress editor is my only option, and I can no longer access or fix this, which is a serious problem.

    • This topic was modified 3 years, 4 months ago by Jan Dembowski.
    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_die during recovery mode’ is closed to new replies.