mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-29 12:37:57 +01:00
REST API: Fix some incorrect @since
tags.
[43437] included some new methods, which were incorrectly tagged as being `@since 4.9.7`. This updates them to `4.9.8`. Props danielbachhuber. Merges [43463] to the 4.9 branch. Fixes #44287. Built from https://develop.svn.wordpress.org/branches/4.9@43490 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d413bb103d
commit
63779784f3
@ -1749,7 +1749,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
|||||||
/**
|
/**
|
||||||
* Get the link relations available for the post and current user.
|
* Get the link relations available for the post and current user.
|
||||||
*
|
*
|
||||||
* @since 4.9.7
|
* @since 4.9.8
|
||||||
*
|
*
|
||||||
* @param WP_Post $post Post object.
|
* @param WP_Post $post Post object.
|
||||||
* @param WP_REST_Request Request object.
|
* @param WP_REST_Request Request object.
|
||||||
@ -2152,7 +2152,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
|||||||
/**
|
/**
|
||||||
* Retrieve Link Description Objects that should be added to the Schema for the posts collection.
|
* Retrieve Link Description Objects that should be added to the Schema for the posts collection.
|
||||||
*
|
*
|
||||||
* @since 4.9.7
|
* @since 4.9.8
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9.8-alpha-43489';
|
$wp_version = '4.9.8-alpha-43490';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user