Skip to content

Abilities API: Post Settings: Fix Schema - #1148

Merged
n7studios merged 6 commits into
abilities-apifrom
abilities-api-fix-output-schema
Jul 31, 2026
Merged

Abilities API: Post Settings: Fix Schema#1148
n7studios merged 6 commits into
abilities-apifrom
abilities-api-fix-output-schema

Conversation

@n7studios

@n7studios n7studios commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Allows the Member Content setting to be zero, in line with the changes made to #1145. Fixes the error Ability "kit/post-settings-get" has invalid output. Reason: output[restrict_content] does not match pattern ^$|^(form|tag|product)_[1-9][0-9]*$

Testing

  • testUpdateAcceptsZeroForRestrictContent: Confirms that Member Content accepts zero as a value.

Checklist

@n7studios n7studios added this to the 3.4.0 milestone Jul 28, 2026
@n7studios n7studios self-assigned this Jul 28, 2026
@n7studios n7studios added the bug label Jul 28, 2026
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios
n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team July 29, 2026 02:46
@n7studios
n7studios marked this pull request as ready for review July 29, 2026 02:46
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios
n7studios merged commit 2e8d343 into abilities-api Jul 31, 2026
86 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants