mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 00:24:52 +01:00
Media: In _wp_handle_upload()
, move ending brace to a new line.
Props georgestephanis. Fixes #35565. git-svn-id: https://develop.svn.wordpress.org/trunk@36373 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
497b64a300
commit
ac704e838c
@ -409,7 +409,8 @@ function _wp_handle_upload( &$file, $overrides, $time, $action ) {
|
|||||||
'file' => $new_file,
|
'file' => $new_file,
|
||||||
'url' => $url,
|
'url' => $url,
|
||||||
'type' => $type
|
'type' => $type
|
||||||
), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' ); }
|
), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action.
|
* Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user