Skip to content

Releases: unfulvio/wp-api-menus

1.4.0 RC1

28 Feb 21:01
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

1.3.2

13 Aug 22:17
2fca19d
Compare
Choose a tag to compare
  • Fix: Address V2 register_rest_route compatibility issue with WP 5.5 (missing permission_callback arg)

1.3.1

03 Oct 16:05
Compare
Choose a tag to compare
  • Tweak: The object_slug property is now available to get the slug for relative URLs - props @fahrradflucht

1.3.0

01 Mar 15:08
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

1.2.1

11 Jan 09:00
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

1.2.0

18 Oct 16:27
Compare
Choose a tag to compare

Added support for WP API v2 - props @Foxpaul

1.1.5

19 Jun 11:58
Compare
Choose a tag to compare
minor edits

1.1.3

13 Mar 02:48
Compare
Choose a tag to compare

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

1.1.2

10 Feb 12:59
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

1.1.0

19 Dec 03:45
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