mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Correct formatting of the @return
value description in _wp_handle_upload()
.
See #47110. Built from https://develop.svn.wordpress.org/trunk@46399 git-svn-id: http://core.svn.wordpress.org/trunk@46198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60617d471b
commit
30913bc9a2
@ -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.
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-beta2-46398';
|
||||
$wp_version = '5.3-beta2-46399';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user