-
Notifications
You must be signed in to change notification settings - Fork 47
Abilities integration: add Field abilities #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #300 +/- ##
============================================
+ Coverage 13.40% 14.35% +0.95%
- Complexity 4321 4386 +65
============================================
Files 285 286 +1
Lines 34863 35270 +407
============================================
+ Hits 4674 5064 +390
- Misses 30189 30206 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…h the UI (can only delete individually, or trash as part of trashing the parent Field Group)
a6365e3 to
8094993
Compare
…fields for the WP ability validator
…or another field
What
Closes #171.
Adds Field abilities to the Abilities API.
Why
Fields are the core building blocks of SCF. Exposing field operations through the Abilities API allows AI agents to create, modify, and manage fields within field groups.
How
SCF_Field_Abilitiesclass with full CRUD operations following the same pattern as the regular SCF internal post types.field.schema.jsonfile for reusability between field groups that contain fields and standalone fields; the field group schema now references the field schema for its fields array.IDand_validbut notlocalornot_registered, since they are not internal post types.Testing Instructions