Docs: Various docblock corrections.

See #53399


git-svn-id: https://develop.svn.wordpress.org/trunk@52299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-12-01 12:15:21 +00:00
parent 6050e9aa0b
commit 08efcf0cb8
10 changed files with 26 additions and 22 deletions

View File

@@ -209,8 +209,8 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
*
* @since 5.0.1
*
* @param array|null $post_data Optional. The array of post data to process.
* Defaults to the `$_POST` superglobal.
* @param array|WP_Error|null $post_data The array of post data to process, or an error object.
* Defaults to the `$_POST` superglobal.
* @return array|WP_Error Array of post data on success, WP_Error on failure.
*/
function _wp_get_allowed_postdata( $post_data = null ) {