Make WordPress Core


Ignore:
Timestamp:
01/05/2021 05:14:24 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in various docblocks.

See #51800, #52217

File:
1 edited

Legend:

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

    r49929 r49936  
    1212 * @since 2.1.0
    1313 *
    14  * @param string|int $src      The source file or Attachment ID.
    15  * @param int        $src_x    The start x position to crop from.
    16  * @param int        $src_y    The start y position to crop from.
    17  * @param int        $src_w    The width to crop.
    18  * @param int        $src_h    The height to crop.
    19  * @param int        $dst_w    The destination width.
    20  * @param int        $dst_h    The destination height.
    21  * @param bool       $src_abs  Optional. If the source crop points are absolute.
    22  * @param string    $dst_file Optional. The destination file to write to.
     14 * @param string|int   $src      The source file or Attachment ID.
     15 * @param int          $src_x    The start x position to crop from.
     16 * @param int          $src_y    The start y position to crop from.
     17 * @param int          $src_w    The width to crop.
     18 * @param int          $src_h    The height to crop.
     19 * @param int          $dst_w    The destination width.
     20 * @param int          $dst_h    The destination height.
     21 * @param bool|false   $src_abs  Optional. If the source crop points are absolute.
     22 * @param string|false $dst_file Optional. The destination file to write to.
    2323 * @return string|WP_Error New filepath on success, WP_Error on failure.
    2424 */
Note: See TracChangeset for help on using the changeset viewer.