Docs: Add and correct @since docs for a variety of functions and methods.

Props keesiemeijer, chris_dev
Fixes #39343, #39357, #39344
See #39130


git-svn-id: https://develop.svn.wordpress.org/trunk@39638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-12-27 09:20:11 +00:00
parent 35ccbc8368
commit 5f645d2f34
12 changed files with 33 additions and 4 deletions
+4
View File
@@ -988,6 +988,8 @@ function rest_get_avatar_sizes() {
/**
* Validate a value based on a schema.
*
* @since 4.7.0
*
* @param mixed $value The value to validate.
* @param array $args Schema array to use for validation.
* @param string $param The parameter name, used in error messages.
@@ -1110,6 +1112,8 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) {
/**
* Sanitize a value based on a schema.
*
* @since 4.7.0
*
* @param mixed $value The value to sanitize.
* @param array $args Schema array to use for sanitization.
* @return true|WP_Error