Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.18 KB

CHANGELOG.md

File metadata and controls

49 lines (37 loc) · 2.18 KB

1.4.0 (28 February 2022)

  • Mark menus as deprecated via doing_it_wrong() in favor of WordPress' core menus endpoints in WP >= 5.9 - props @thefrosty
  • Allow continued use of legacy menus via filter: rest_menus_allow_legacy_menus:
       add_filter( 'rest_menus_allow_legacy_menus', '__return_true' );

1.3.2 (12 August 2020)

  • Fix (V2): Fix V2 register_rest_route compatibility issue with WP 5.5. (Missing permission_callback arg)

1.3.1 (03 Oct 2016)

  • Tweak: The object_slug property is now available to get the slug for relative URLs - props @Fahrradflucht

1.3.0 (25 Feb 2016)

  • 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 (10 Jan 2016)

  • 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 2015)

  • Enhancement: Added WP REST API v2 support - props @foxpaul
  • Misc: Supports WordPress 4.3

1.1.5 (19 jun 2015)

  • Misc: Minor edits to headers and phpdocs
  • Misc: Improved security

1.1.4 (30 apr 2015)

  • Misc: Supports WordPress 4.2, add composer.json for wp-packagist

1.1.3 (13 Mar 2015)

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

1.1.2 (10 Feb 2015)

  • Tweak: Introduced json_menus_format_menu_item filter hook - props @Noctine

1.1.1 (15 Jan 2015)

  • Misc: Submission to WordPress.org plugins directory.

1.1.0 (24 Nov 2014)

  • Enhancement: Routes for menus in theme locations now include complete tree with item order and nested children
  • Tweak: description attribute for individual items is now included in results
  • Fix: Fixed typo confusing parent with collection in meta

1.0.0 (21 Jul 2014)

  • First public release