Make WordPress Core


Ignore:
Timestamp:
01/25/2022 01:54:01 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update spelling for inline comments in a few files.

Per the spelling and word choice documentation guidelines, American (US) spelling should be preferred.

Props mohadeseghasemi, subrataemfluence, rehanali, SergeyBiryukov.
Fixes #46837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r51790 r52640  
    590590            $this->image->rotateImage( new ImagickPixel( 'none' ), 360 - $angle );
    591591
    592             // Normalise EXIF orientation data so that display is consistent across devices.
     592            // Normalize EXIF orientation data so that display is consistent across devices.
    593593            if ( is_callable( array( $this->image, 'setImageOrientation' ) ) && defined( 'Imagick::ORIENTATION_TOPLEFT' ) ) {
    594594                $this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT );
     
    628628            }
    629629
    630             // Normalise EXIF orientation data so that display is consistent across devices.
     630            // Normalize EXIF orientation data so that display is consistent across devices.
    631631            if ( is_callable( array( $this->image, 'setImageOrientation' ) ) && defined( 'Imagick::ORIENTATION_TOPLEFT' ) ) {
    632632                $this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT );
Note: See TracChangeset for help on using the changeset viewer.