[wp-trac] [WordPress Trac] #64483: Core Abilities getting error when execution
WordPress Trac
noreply at wordpress.org
Thu Jan 15 16:32:41 UTC 2026
#64483: Core Abilities getting error when execution
-------------------------------------------------+-------------------------
Reporter: arkenon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version: 6.9
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by solankisoftware):
Hi @ehabholodia, thank you for checking this and for the detailed
feedback.
I reproduced this issue on a clean WordPress install (no plugins, default
theme) using the following steps:
Register an ability using register_ability() without defining
input_schema.
Execute it via the Assistants API function call.
The execution fails with:
ability_missing_input_schema
While the documentation mentions that input_schema is optional, in
practice the execution layer still attempts to validate input and throws
an error when the schema is missing.
The proposed patch adds a default empty schema to align runtime behavior
with the documented API and with other core abilities that already define
a default schema.
I confirmed this on a clean environment, so this does not appear to be
caused by custom theme or plugin code.
If you’d like, I can share a minimal reproduction snippet to help validate
this further.
Thanks again for reviewing this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64483#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list