[wp-trac] [WordPress Trac] #64483: Core Abilities getting error when execution
WordPress Trac
noreply at wordpress.org
Wed Jan 14 04:38:24 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 hbhalodia):
Hi @arkenon @solankisoftware @keshav6750, I do have tried to reproduce the
issue, but I do not think this is a valid issue. The reason is because,
the `input_schema` is an optional args and not required, hence passing it
empty or either does not pass it wholely will not give any errors.
Please see the below recording on how I am able to execute both the APIs
and getting the correct output.
https://app.godam.io/web/video/88o90c4fqu
Also if you see documentation of abilities API it says that input schema
is optional, Ref - https://developer.wordpress.org/apis/abilities-api/php-
reference/#registering-abilities-
wp_register_ability:~:text=input_schema,%2C%20Optional)
Could you please check with theme/plugin/custom code that might be
changing the core behavior?
Thank You,
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64483#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list