Clarify PHPDoc return description for `media_handle_upload()`.

Props jdgrimes.
Fixes #27519.

Built from https://develop.svn.wordpress.org/trunk@27880


git-svn-id: http://core.svn.wordpress.org/trunk@27711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-03-31 22:33:15 +00:00
parent f13d04e5cf
commit 4af2840a47
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 )) {