Skip to content

Conversation

@crazytonyli
Copy link
Contributor

I found a plugin (The Event Tickets plugin) has an unexpected args in its wp-json response, which causes the WpApiDetails parsing failure. That means any site with that plugin won't be able to sign in with application passwords from the app.

Copy link
Contributor

@jkmassel jkmassel left a comment

Choose a reason for hiding this comment

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

Nice fix, and thanks for the test.

I wonder if WpEndpoint.args should just be JsonValue and consumers can work with it however they want?

@crazytonyli
Copy link
Contributor Author

I don't know how to answer that 😄 , as I'm not sure how the WpEndpointArg type is intended to be used, which appears to be the only thing affected here. The current PR maintains the existing API, with minimal changes to how JSON is parsed.

@crazytonyli crazytonyli merged commit 4ca8fb0 into trunk Jan 5, 2026
22 checks passed
@crazytonyli crazytonyli deleted the fix-wp-api-details-parsing branch January 5, 2026 00:40
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.

3 participants