• Hello,

    I’ve recently discovered that when running your plugin, the ‘wp_logout’ action does not fire whenever I activate the ‘Hide Backend’ feature.

    It looks like the reason this occurs is because the wp_logout function is overwritten in the plugin, and the do_action('wp_logout'); is not called.

    I tested this with the latest version of the plugin (4.2.4) on WordPress 3.9.1.

    The reason we noticed, is because the Woocommerce clear_cart function is no longer run, when you log out whenever the ‘Hide Backend’ feature is enabled.

    Please let me know how this can be fixed, or when this will be fixed in the plugin.

    Thanks

    Rowan

    https://wordpress.org/plugins/better-wp-security/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Rowan,

    Thanks for reporting this. I’m going to bump this to the developer.

    I’ll report back here when I know more!

    Thanks,

    Gerroald

    Thread Starter Dynadata

    (@dynadata)

    Any updates on this matter?

    Thanks

    Rowan

    I have found this issue only in Firefox. After hiding the WP back end, I was able to log out once. After logging in a second time, the problem occurred and I was re-directed to wp-admin dashboard, caught in a no-way-out situation. Only after clearing Firefox’s cache was I able to log out from WP. Hide WP Back End seems to work fine on Chrome, Opera, and IE. I should say also that I tested this using a bare bones installation of Firefox (no extensions) and the problem still occurred.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘'wp_logout' action is not firing when I enable the 'hide backend' feature’ is closed to new replies.