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/class-wp-image-editor.php

    r56416 r56418  
    107107     * @param int|null   $max_w Image width.
    108108     * @param int|null   $max_h Image height.
    109      * @param bool|array $crop   {
    110      *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     109     * @param bool|array $crop  {
     110     *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    111111     *     If true, image will be cropped to the specified dimensions using center positions.
    112112     *     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.