diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php index 375a2dd223..e7070b1ca6 100644 --- a/wp-includes/class-wp-image-editor.php +++ b/wp-includes/class-wp-image-editor.php @@ -512,7 +512,7 @@ abstract class WP_Image_Editor { switch ( $orientation ) { case 2: // Flip horizontally. - $result = $this->flip( true, false ); + $result = $this->flip( false, true ); break; case 3: // Rotate 180 degrees or flip horizontally and vertically. @@ -521,14 +521,14 @@ abstract class WP_Image_Editor { break; case 4: // Flip vertically. - $result = $this->flip( false, true ); + $result = $this->flip( true, false ); break; case 5: // Rotate 90 degrees counter-clockwise and flip vertically. $result = $this->rotate( 90 ); if ( ! is_wp_error( $result ) ) { - $result = $this->flip( false, true ); + $result = $this->flip( true, false ); } break; @@ -541,7 +541,7 @@ abstract class WP_Image_Editor { $result = $this->rotate( 90 ); if ( ! is_wp_error( $result ) ) { - $result = $this->flip( true, false ); + $result = $this->flip( false, true ); } break; diff --git a/wp-includes/version.php b/wp-includes/version.php index 8640889a13..1f8be4d531 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54264'; +$wp_version = '6.1-alpha-54265'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.