Docs: Miscellaneous docs fixes and improvements.

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47398 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-03-01 10:38:00 +00:00
parent 78a6e4febb
commit ac6cb23470
4 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -2640,8 +2640,8 @@ function wp_upload_bits( $name, $deprecated, $bits, $time = null ) {
/**
* Filters whether to treat the upload bits as an error.
*
* Passing a non-array to the filter will effectively short-circuit preparing
* the upload bits, returning that value instead.
* Returning a non-array from the filter will effectively short-circuit preparing the upload
* bits, returning that value instead. An error message should be returned as a string.
*
* @since 3.0.0
*