Skip to content

"Login to report this pattern" link incorrect #576

Description

@jonoalderson

The "login to report this pattern" link on pattern pages (like https://wordpress.org/patterns/pattern/fullwidth-dark-banner-with-heading-top-left/) points to /wp-login.php?redirect_to={{PATH-TO-PATTERN}}.

This redirects to https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2F, and loses the return path in the process (as well as causing performance and SEO headaches).

To correct this, the link should be updated to https://login.wordpress.org/?redirect_to={{PATH-TO-PATTERN}}.

In the same change, a rel="nofollow" attribute should be added to the link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueGood for newcomers[Component] ThemeThe frontend of the pattern directory, pattern lists UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions