Skip to content

Non admin users can't view more than the first page in media library grid #1316

@pkevan

Description

@pkevan

Describe the bug

Non-admin users are restricted from having the load more button active, so they cannot see more than the first page.

See: https://wordpress.slack.com/archives/C08M59V3P/p1715444166309679

To reproduce

Steps to reproduce the behavior:

  1. Go to a media library using an Editor level account e.g. https://europe.wordcamp.org/2024/wp-admin/upload.php, and look at attachment in grid view
  2. Wait for screen to load with attachments.
  3. Scroll down to bottom of page, and notice that the load more button is hidden (by CSS) and not active.

Expected behavior

Users should be able to scroll through results with the button

Media library with Firefox

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions