mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Docs: Correct formatting of the @return value description in _wp_handle_upload().
See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@46399 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -713,7 +713,7 @@ function validate_file_to_edit( $file, $allowed_files = array() ) {
|
||||
* @param string $time Time formatted in 'yyyy/mm'.
|
||||
* @param string $action Expected value for `$_POST['action']`.
|
||||
* @return string[] On success, returns an associative array of file attributes. On failure, returns
|
||||
* `$overrides['upload_error_handler'](&$file, $message )` or `array( 'error'=>$message )`.
|
||||
* `$overrides['upload_error_handler']( &$file, $message )` or `array( 'error' => $message )`.
|
||||
*/
|
||||
function _wp_handle_upload( &$file, $overrides, $time, $action ) {
|
||||
// The default error handler.
|
||||
|
||||
Reference in New Issue
Block a user