Files
wordpress/wp-includes/abilities-api
gziolo f6b747ff6f Abilities API: Improve annotations documentation and add permission callback validation
Code quality changes included:
- Expands `annotations` parameter documentation with detailed descriptions for readonly,
destructive, and idempotent properties.
- Standardizes type order from `null|bool` to `bool|null` per coding standards.
- Adds validation check to ensure permission callback is callable before invocation.

Developed in https://github.com/WordPress/wordpress-develop/pull/10431.

Follow-up for [61067], [61032].
See #64134.


Built from https://develop.svn.wordpress.org/trunk@61086


git-svn-id: http://core.svn.wordpress.org/trunk@60422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-29 13:45:35 +00:00
..