• Resolved blcsue

    (@blcsue)


    I have updated to version 3.4.9.7, now when you are logged in your status now shows as:

    <p class="login_widget_status">You are logged in as *name*<br />click here to log out</p>

    How do I change it back to: Click here to log out. Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter blcsue

    (@blcsue)

    solved from the latest update

    This issue still exists in v3.4.9.7 and it exists since v3.4.9.6

    Reverting back to 3.4.9.5 and the issue is gone.

    I’ll do now some code compare to in these 3 versions to have a look deeper.

    Edit: here is the compare result with the changes regarding the file “class-wp-members-widget.php” line 467:

    v3.4.9.5:

    $str = $args['wrapper_before'] . $args['status_text'] . "<a href=\"$logout\">" . $args['link_text'] . '</a>' . $args['wrapper_after'];

    v3.4.9.6:

    $str = esc_attr( $args['wrapper_before'] ) . esc_html( $args['status_text'] ) . '<a href="' . esc_url_raw( $logout ) . '">' . esc_html( $args['link_text'] ) . '</a>' . esc_attr( $args['wrapper_after'] );

    v3.4.9.7

    $str = $args['wrapper_before'] . $args['status_text'] . '<a href="' . esc_url_raw( $logout ) . '">' . esc_html( $args['link_text'] ) . '</a>' . $args['wrapper_after'];
    • This reply was modified 3 weeks, 5 days ago by Barcelo. Reason: Added results of code compare

    Changing the menioned line in v3.4.9.7 to

    $str = $args['wrapper_before'] . $args['status_text'] . '<a href="' . esc_url_raw( $logout ) . '">' .  $args['link_text'] . '</a>' . $args['wrapper_after'];

    solves this for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.