Make WordPress Core


Ignore:
Timestamp:
08/19/2023 12:08:32 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct punctuation in some instances of the $crop parameter description.

Follow-up to [56416].

See #58833.

File:
1 edited

Legend:

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

    r56416 r56418  
    347347 * @param int        $height Image height in pixels.
    348348 * @param bool|array $crop   {
    349  *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     349 *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    350350 *     If true, image will be cropped to the specified dimensions using center positions.
    351351 *     If an array, the image will be cropped using the array to specify the crop location:
     
    681681 * @param int        $height Image height.
    682682 * @param bool|array $crop   {
    683  *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     683 *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    684684 *     If true, image will be cropped to the specified dimensions using center positions.
    685685 *     If an array, the image will be cropped using the array to specify the crop location:
Note: See TracChangeset for help on using the changeset viewer.