This release syncs all the changes that are going to be included in the WordPress 6.9 release.
What's Changed
- Add initial core abilities for WordPress 6.9 by @Jameswlepage in #108
- Docs preparations for WP 6.9 by @jonathanbossenger in #117
- Clean up doc numbering by @jonathanbossenger in #125
- Sync changes from WordPress core after 6.9 beta 1 by @gziolo in #126
- Update: Simplify core abilities registration in preparation for core patch. by @jorgefilipecosta in #128
- Doc updates from WP 6.9 beta 1 by @jonathanbossenger in #131
Breaking Changes
- All WP hooks got prefixed with
wp_.wp_abilities_api_categories_initwp_abilities_api_initwp_before_execute_abilitywp_after_execute_abilitywp_register_ability_category_argswp_register_ability_args
- Ability categories and abilities can only be registered after the
initaction has fired. check_permissions()on theWP_Abilityclass no longer validates the input. There is now a new public methodvalidate_input()that has to be called explicitly.- REST API endpoints have a new URL structure with
wp-abilities/v1namespace, example:https://example.com/wp-json/wp-abilities/v1/categories
New Contributors
- @Jameswlepage made their first contribution in #108
- @jorgefilipecosta made their first contribution in #128
Full Changelog: v0.3.0...v0.4.0