Make WordPress Core

Changeset 56418


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

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

Follow-up to [56416].

See #58833.

Location:
trunk/src/wp-includes
Files:
4 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:
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r56416 r56418  
    321321     * @param int|null   $max_w Image width.
    322322     * @param int|null   $max_h Image height.
    323      * @param bool|array $crop   {
    324      *     Optional. Image cropping behavior. If false, the image will be scaled (default),
     323     * @param bool|array $crop  {
     324     *     Optional. Image cropping behavior. If false, the image will be scaled (default).
    325325     *     If true, image will be cropped to the specified dimensions using center positions.
    326326     *     If an array, the image will be cropped using the array to specify the crop location:
  • 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:
  • 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.