v2.0.0
2.0.0 REQUIRES WORDPRESS 4.7 or higher!
To upgrade:
$ git fetch --all
$ git checkout v2.0.0
$ yarn
$ npm run restore
- [ENHANCEMENT] WordPress 4.7 ready! #308
- [ENHANCEMENT] Upgrade Cordova plugins #310
- [BUG] Links in Comments open in app instead of safari #306
Breaking changes:
If you upgrade to WordPress 4.7, you can remove WP-API plugin.
filter
params is deprecated, if you use custom query filters here is the changes you need to make:
- "filter[orderby]": "date"
- "filter[order]": "desc"
- "filter[post_status]": "publish"
+ "orderby": "date"
+ "order": "desc"
+ "status": "publish"
in menu.json
you need to change public.taxonomies.slug
by public.taxonomies.id
and replace the slug
of the taxonomie per its id
.
For example:
- "route": "public.taxonomies.slug({ term: 'category', slug: 'uncategorized', postType: 'post' })",
+ "route": "public.taxonomies.id({ term: 'categories', id: 1, postType: 'post' })",
Also terms changed. category
is now categories
and post_tag
is now tags
.