Skip to:
Content

bbPress.org

Ticket #3414: 3414.patch

File 3414.patch, 574 bytes (added by dilipbheda, 12 months ago)
  • src/includes/users/template.php

     
    18261826function bbp_login_notices() {
    18271827
    18281828        // loggedout was passed
    1829         if ( ! empty( $_GET['loggedout'] ) && ( true === $_GET['loggedout'] ) ) {
     1829        if ( ! empty( $_GET['loggedout'] ) && ( 'true' === $_GET['loggedout'] ) ) {
    18301830                bbp_add_error( 'loggedout', esc_html__( 'You are now logged out.', 'bbpress' ), 'message' );
    18311831
    18321832        // registration is disabled