• Resolved 1134scotty

    (@1134scotty)


    This occurs on every page but I’m just including the home page to demonstrate. If a user is logged in it displays “You are logged in as”, followed by a space and a comma. The user’s name never shows up. I haven’t modified the plugin at all. It only seems to happen when users register via the plugin. If I add a WordPress member, give it a membership and log in, the name does show correctly.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @1134scotty

    I trust you are doing well!

    I could replicate this issue on my end, this issuw will be fixed in the next lugin release. As a temporary solution, please go to
    /wp-content/plugins/membership/app/view/shortcode/ and edite class-ms-view-shortcode-login.php file. On line 473 change
    ucfirst( $member->name )
    To this:
    ucfirst( $member->display_name )

    The solution above has fixed the issue on my end.

    Please have a backup of your site just in case if something will go wrong.

    Kind regards,
    Nastia

Viewing 1 replies (of 1 total)
  • The topic ‘“You are logged in as” doesn’t show user’s name’ is closed to new replies.