unfulvio / wp-api-menus

:abcd: Menu routes for WordPress JSON REST API.
https://wordpress.org/plugins/wp-api-menus
GNU General Public License v2.0
140 stars 59 forks source link

Update wp-api-menus-v2.php #20

Closed Dobbler closed 8 years ago

Dobbler commented 8 years ago

The items array was returning empty because it was looking for "ID" instead of "id".