Changeset 50264 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 02/09/2021 12:32:54 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r50258 r50264 431 431 * @since 5.3.0 The `$post_id` parameter was made optional. 432 432 * 433 * @param string[] 434 * @param int 435 * @param string 436 * @param array 433 * @param string[] $file_array Array that represents a `$_FILES` upload array. 434 * @param int $post_id Optional. The post ID the media is associated with. 435 * @param string $desc Optional. Description of the side-loaded file. Default null. 436 * @param array $post_data Optional. Post data to override. Default empty array. 437 437 * @return int|WP_Error The ID of the attachment or a WP_Error on failure. 438 438 */
Note: See TracChangeset
for help on using the changeset viewer.