mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Update @since version to 4.9.8 for meta registration subtype handling.
This feature has been backported to 4.9.8 so 5.0.0 is inaccurate. See #38323. git-svn-id: https://develop.svn.wordpress.org/trunk@43520 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,7 +30,7 @@ class WP_REST_Comment_Meta_Fields extends WP_REST_Meta_Fields {
|
||||
/**
|
||||
* Retrieves the object meta subtype.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @return string 'comment' There are no subtypes.
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@ abstract class WP_REST_Meta_Fields {
|
||||
/**
|
||||
* Retrieves the object meta subtype.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @return string Subtype for the meta type, or empty string if no specific subtype.
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ class WP_REST_Post_Meta_Fields extends WP_REST_Meta_Fields {
|
||||
/**
|
||||
* Retrieves the object meta subtype.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @return string Subtype for the meta type, or empty string if no specific subtype.
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ class WP_REST_Term_Meta_Fields extends WP_REST_Meta_Fields {
|
||||
/**
|
||||
* Retrieves the object meta subtype.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @return string Subtype for the meta type, or empty string if no specific subtype.
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@ class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields {
|
||||
/**
|
||||
* Retrieves the object meta subtype.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @return string 'user' There are no subtypes.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user