Skip to content

Profile tab links use user_login instead of user_nicename #628

@axl4life

Description

@axl4life

On LearnPress profile pages, some tab links are generated using user_login instead of user_nicename (the profile URL slug).
This is not an issue when both values are the same.
When they differ, generated tab links can use the wrong profile segment, and tab content can appear empty or not be rendered.

Example

  • user_login: test-user.tester
  • user_nicename: test-user-tester

Test URL:
/lp_profile/test-user.tester/orders_woocommerce/ vs /lp_profile/test-user-tester/orders_woocommerce/ vs

Where to check

  • learn_press_user_profile_link
  • LearnPress profile tab link generation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions