Skip to content

fix: don't propagate all query params - #54

Merged
ictbeheer merged 2 commits into
masterfrom
fix/query-params
Oct 30, 2026
Merged

ictbeheer merged 2 commits into
masterfrom
fix/query-params

Conversation

@ictbeheer

Copy link
Copy Markdown
Contributor

No description provided.

@ictbeheer
ictbeheer requested a review from mvdhoek1 October 30, 2026 08:33
protected function getPaginatorParams(WP_REST_Request $request, int $limit = 10): array
{
return array_merge($request->get_params(), [
return[

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting gaat niet helemaal lekker nog: return[ -> return [

@ictbeheer
ictbeheer merged commit 0a00742 into master Oct 30, 2026
2 checks passed
@ictbeheer
ictbeheer deleted the fix/query-params branch October 30, 2026 09:34
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.

2 participants