mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Update some recently added inline comments per the documentation standards.
Follow-up to [50256], [50258], [50259]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@50264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -430,10 +430,10 @@ function media_handle_upload( $file_id, $post_id, $post_data = array(), $overrid
|
||||
* @since 2.6.0
|
||||
* @since 5.3.0 The `$post_id` parameter was made optional.
|
||||
*
|
||||
* @param string[] $file_array Array that represents a `$_FILES` upload array.
|
||||
* @param int $post_id Optional. The post ID the media is associated with.
|
||||
* @param string $desc Optional. Description of the side-loaded file. Default null.
|
||||
* @param array $post_data Optional. Post data to override. Default empty array.
|
||||
* @param string[] $file_array Array that represents a `$_FILES` upload array.
|
||||
* @param int $post_id Optional. The post ID the media is associated with.
|
||||
* @param string $desc Optional. Description of the side-loaded file. Default null.
|
||||
* @param array $post_data Optional. Post data to override. Default empty array.
|
||||
* @return int|WP_Error The ID of the attachment or a WP_Error on failure.
|
||||
*/
|
||||
function media_handle_sideload( $file_array, $post_id = 0, $desc = null, $post_data = array() ) {
|
||||
|
||||
Reference in New Issue
Block a user