Skip to content

Client-side pagination on archives should cut off at 50 for logged-out users #575

Description

@jonoalderson

Throughout the wp.org ecosystem, we limit pagination for logged-out users to 50 pages.

Server-side behaviour on pattern archives behaves correctly in this regard (visiting https://wordpress.org/patterns/page/51/ returns a 404 error), but the client-side interface (see https://wordpress.org/patterns/page/49/) contains links to all pages.

The client-side options should be limited to a maximum of 50 results, so that it's consistent with the server-side behaviour.

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