Docs: Update spelling for inline comments in a few files.
Per the [https://make.wordpress.org/core/handbook/best-practices/spelling/ spelling] and [https://make.wordpress.org/docs/style-guide/language-grammar/word-choice/ word choice] documentation guidelines, American (US) spelling should be preferred. Props mohadeseghasemi, subrataemfluence, rehanali, SergeyBiryukov. Fixes #46837. Built from https://develop.svn.wordpress.org/trunk@52640 git-svn-id: http://core.svn.wordpress.org/trunk@52229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -589,7 +589,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
try {
|
||||
$this->image->rotateImage( new ImagickPixel( 'none' ), 360 - $angle );
|
||||
|
||||
// Normalise EXIF orientation data so that display is consistent across devices.
|
||||
// Normalize EXIF orientation data so that display is consistent across devices.
|
||||
if ( is_callable( array( $this->image, 'setImageOrientation' ) ) && defined( 'Imagick::ORIENTATION_TOPLEFT' ) ) {
|
||||
$this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT );
|
||||
}
|
||||
@@ -627,7 +627,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
$this->image->flopImage();
|
||||
}
|
||||
|
||||
// Normalise EXIF orientation data so that display is consistent across devices.
|
||||
// Normalize EXIF orientation data so that display is consistent across devices.
|
||||
if ( is_callable( array( $this->image, 'setImageOrientation' ) ) && defined( 'Imagick::ORIENTATION_TOPLEFT' ) ) {
|
||||
$this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user