Clarify PHPDoc return description for `media_handle_upload()`.

Props jdgrimes.
Fixes #27519.


git-svn-id: https://develop.svn.wordpress.org/trunk@27880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-03-31 22:32:47 +00:00
parent 1bd14badd5
commit 33acf29a46
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ win.send_to_editor('<?php echo addslashes($html); ?>');
* @param int $post_id The post ID the media is associated with
* @param array $post_data allows you to overwrite some of the attachment
* @param array $overrides allows you to override the {@link wp_handle_upload()} behavior
* @return int the ID of the attachment
* @return int|WP_Error ID of the attachment or a WP_Error object on failure.
*/
function media_handle_upload($file_id, $post_id, $post_data = array(), $overrides = array( 'test_form' => false )) {