Skip to content

Conversation

@oguzkocer
Copy link
Contributor

Summary

Fixes a WordPress 6.9-RC3 compatibility issue discovered in #1047.

WordPress 6.9-RC3 rejects app_id: null in the /users/<id>/application-passwords endpoint. This adds #[serde(skip_serializing_if = "Option::is_none")] to omit the field when None.

WordPress 6.9-RC3 rejects `app_id: null` in the application-passwords
endpoint, returning "Invalid parameter(s): app_id". This is a regression
from previous versions where null was accepted.

Changes:
- Add `#[serde(skip_serializing_if = "Option::is_none")]` to `app_id` in
  `ApplicationPasswordCreateParams` and `ApplicationPasswordUpdateParams`
@oguzkocer oguzkocer enabled auto-merge (squash) November 27, 2025 18:14
@oguzkocer oguzkocer added this to the 0.2 milestone Nov 27, 2025
@oguzkocer oguzkocer requested a review from jkmassel November 27, 2025 18:14
@oguzkocer oguzkocer merged commit 7525ab2 into trunk Nov 27, 2025
22 checks passed
@oguzkocer oguzkocer deleted the fix/app-id-null-serialization branch November 27, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants