Skip to content

Add permission check to listing query parameters#2914

Merged
donnchawp merged 1 commit intotrunkfrom
fix/listing-query-permissions
Feb 24, 2026
Merged

Add permission check to listing query parameters#2914
donnchawp merged 1 commit intotrunkfrom
fix/listing-query-permissions

Conversation

@donnchawp
Copy link
Contributor

@donnchawp donnchawp commented Feb 24, 2026

Summary

  • Adds a capability check for certain query parameters in the AJAX listings endpoint

Test plan

  • Verify listing queries return expected results for both authenticated and unauthenticated users

Plugin build for 2ed939f
📦 Download plugin zip
▶️ Open in playground

Co-authored-by: azaozz <azaozz@git.wordpress.org>
@donnchawp donnchawp force-pushed the fix/listing-query-permissions branch from 8514837 to 2ed939f Compare February 24, 2026 15:13
@donnchawp donnchawp merged commit 9e42a72 into trunk Feb 24, 2026
11 checks passed
@donnchawp donnchawp deleted the fix/listing-query-permissions branch February 24, 2026 15:18
@donnchawp donnchawp added this to the 2.4.1 milestone Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant