Make WordPress Core


Ignore:
Timestamp:
07/11/2024 06:22:51 AM (20 months ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typos in various REST API DocBlocks and comments.

Follow-up to [34928], [43739], [46422], [50717], [51973], [54528].

Props antonvlasenko.
Fixes #61593.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

    r58694 r58706  
    451451
    452452    /**
    453      * Performs post processing on an attachment.
     453     * Performs post-processing on an attachment.
    454454     *
    455455     * @since 5.3.0
     
    472472
    473473    /**
    474      * Checks if a given request can perform post processing on an attachment.
     474     * Checks if a given request can perform post-processing on an attachment.
    475475     *
    476476     * @since 5.3.0
     
    602602            switch ( $modifier['type'] ) {
    603603                case 'rotate':
    604                     // Rotation direction: clockwise vs. counter clockwise.
     604                    // Rotation direction: clockwise vs. counterclockwise.
    605605                    $rotate = 0 - $args['angle'];
    606606
     
    662662        $filename = "{$image_name}.{$image_ext}";
    663663
    664         // Create the uploads sub-directory if needed.
     664        // Create the uploads subdirectory if needed.
    665665        $uploads = wp_upload_dir();
    666666
Note: See TracChangeset for help on using the changeset viewer.