Skip to content
Compare
Choose a tag to compare

1.4.0 RC1

Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 1.3.2...1.4.0-RC1

2fca19d
Compare
Choose a tag to compare
  • Fix: Address V2 register_rest_route compatibility issue with WP 5.5 (missing permission_callback arg)
Compare
Choose a tag to compare
  • Tweak: The object_slug property is now available to get the slug for relative URLs - props @fahrradflucht
Compare
Choose a tag to compare
  • Fix (V2): Nodes duplication in sublevel menu items, see #22 - props @bpongvh
  • Fix (V2): The items array was empty because it was looking for "ID" key instead of "id" - props @Dobbler
  • Fix (V1): Check for JSON_API_VERSION constant, as in a mu-plugin installation of WP API 1.0 it will not show up under active_plugins - props @pdufour
Compare
Choose a tag to compare
  • Tweak (V2 only): Use lowercase id instead of uppercase ID in API responses, to match the standard lowercase id used across WP REST API - props @puredazzle
  • Fix: Fixed WP API v1 version detection for WordPress 4.4 - props Thomas Chille
Compare
Choose a tag to compare

Added support for WP API v2 - props @Foxpaul

Compare
Choose a tag to compare

Fixes bug where duplicate items where created in nested menus - props @josh-taylor

Compare
Choose a tag to compare

You can now alter the json data output of each individual menu items and their children using the filter hook json_menus_format_menu_item

Compare
Choose a tag to compare

Routes for menus in theme locations now include complete tree with item order and nested children. See the changelog: https://github.com/nekojira/wp-api-menus/blob/master/CHANGELOG.md