Skip to content

v0.4.0

Latest

Choose a tag to compare

@gziolo gziolo released this 30 Oct 08:47
· 12 commits to trunk since this release
0759075

This release syncs all the changes that are going to be included in the WordPress 6.9 release.

What's Changed

Breaking Changes

  • All WP hooks got prefixed with wp_.
    • wp_abilities_api_categories_init
    • wp_abilities_api_init
    • wp_before_execute_ability
    • wp_after_execute_ability
    • wp_register_ability_category_args
    • wp_register_ability_args
  • Ability categories and abilities can only be registered after the init action has fired.
  • check_permissions() on the WP_Ability class no longer validates the input. There is now a new public method validate_input() that has to be called explicitly.
  • REST API endpoints have a new URL structure with wp-abilities/v1 namespace, example: https://example.com/wp-json/wp-abilities/v1/categories

New Contributors

Full Changelog: v0.3.0...v0.4.0