wp_die during recovery mode
-
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 extrawp_die_handler
filter or some kind of validation to prevent awp_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.
- The topic ‘wp_die during recovery mode’ is closed to new replies.