Bug, wp_logout changed with maintenance off
-
If maintenance is set to “off” in plugin settings, the plugin still adds its own
wp_logout
action and overwrites other plugins action which might be in place.maintenance.php:47,265
add_action('wp_logout', array(&$this, 'mtnc_user_logout')); public function mtnc_user_logout() { wp_safe_redirect(get_bloginfo('url')); exit; }
Suggested fix: The action should only be added if maintenance is set to “on” or not at all.
WordPress 6.1.1, Maintenance 4.07
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug, wp_logout changed with maintenance off’ is closed to new replies.