This document details changes to the WP REST API since its public release in version 4.7.0.

Version 4.7.4 Version 4.7.4

  • Fix another (DST-related) issue with dates of posts. #
  • Add gmt_offset and timezone_string to the base /wp-json response. #
  • Confirm that the parent post object of an attachment exists in WP_REST_Posts_Controller::check_read_permission(). #
  • Allow fetching multiple users and terms at once via the slug parameters of the respective endpoints. #, #

Top ↑

Version 4.7.3 Version 4.7.3

  • Cast revision author ID to int. #
  • Correctly serve the index with PATH_INFO. #
  • Include the status property in view context responses from the Posts endpoints. #
  • wp-api.js client: Use _.extend instead of _.union when merging objects. #
  • To prepare for a full multisite implementation in 4.8, do not allow access to users from a different site. #
  • Correctly parse body parameters for DELETE requests. #
  • Fix multiple issues with dates of posts and comments. #, #
  • wp-api.js client: Fix route discovery for custom namespaces. #
  • Fix the behavior of the sticky posts filter when no posts are sticky. #
  • Allow setting all post formats even if they are not supported by the theme. #

Top ↑

Version 4.7.2 Version 4.7.2

  • Unify object access handling for simplicity. #

Top ↑

Version 4.7.1 Version 4.7.1

  • Treat any falsy value as false in 'rest_allow_anonymous_comments'. #
  • wp-api.js client: Fix setup of models used by wp.api.collections objects. #
  • Do not error on empty JSON body. #
  • Do not include the password argument for the GET /wp/v2/media endpoint. #
  • Allow sending empty or no-op comment updates. #
  • Add support for filename search in the GET /wp/v2/media endpoint. #
  • Fix PHP warnings when get_theme_support( 'post-formats' ) is not an array. #
  • Improve the rest_*_collection_params filter docs and fix the terms filter. #
  • Allow schema sanitization_callback to be set to null to bypass built-in sanitization. #
  • Change which users are shown in the users endpoint. #