Make WordPress Core


Ignore:
Timestamp:
08/19/2023 12:08:32 AM (13 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-gd.php

    r56416 r56418  
    166166     * @param int|null   $max_w Image width.
    167167     * @param int|null   $max_h Image height.
    168      * @param bool|array $crop   {
    169      *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     168     * @param bool|array $crop  {
     169     *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    170170     *     If true, image will be cropped to the specified dimensions using center positions.
    171171     *     If an array, the image will be cropped using the array to specify the crop location:
     
    198198     * @param int        $max_w
    199199     * @param int        $max_h
    200      * @param bool|array $crop   {
    201      *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     200     * @param bool|array $crop  {
     201     *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    202202     *     If true, image will be cropped to the specified dimensions using center positions.
    203203     *     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.