WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/24/2019 12:53:09 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve consistency in @since tags for parameters that were made optional.

See #47110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r46245 r46288  
    433433 *
    434434 * @since 2.6.0
    435  * @since 5.3.0 Made `$post_id` parameter optional.
     435 * @since 5.3.0 The `$post_id` parameter was made optional.
    436436 *
    437437 * @param array  $file_array Array similar to a `$_FILES` upload array.
     
    971971 * @since 4.2.0 Introduced the `$return` parameter.
    972972 * @since 4.8.0 Introduced the 'id' option within the `$return` parameter.
    973  * @since 5.3.0 Made the `$post_id` parameter optional
     973 * @since 5.3.0 The `$post_id` parameter was made optional.
    974974 *
    975975 * @param string $file    The URL of the image to download.
Note: See TracChangeset for help on using the changeset viewer.