diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php
index ae275c24..84fa24db 100644
a
|
b
|
abstract class WP_Image_Editor { |
502 | 502 | switch ( $orientation ) { |
503 | 503 | case 2: |
504 | 504 | // Flip horizontally. |
505 | | $result = $this->flip( true, false ); |
| 505 | $result = $this->flip( false, true ); |
506 | 506 | break; |
507 | 507 | case 3: |
508 | 508 | // Rotate 180 degrees or flip horizontally and vertically. |
… |
… |
abstract class WP_Image_Editor { |
511 | 511 | break; |
512 | 512 | case 4: |
513 | 513 | // Flip vertically. |
514 | | $result = $this->flip( false, true ); |
| 514 | $result = $this->flip( true, false ); |
515 | 515 | break; |
516 | 516 | case 5: |
517 | 517 | // Rotate 90 degrees counter-clockwise and flip vertically. |
518 | 518 | $result = $this->rotate( 90 ); |
519 | 519 | |
520 | 520 | if ( ! is_wp_error( $result ) ) { |
521 | | $result = $this->flip( false, true ); |
| 521 | $result = $this->flip( true, false ); |
522 | 522 | } |
523 | 523 | |
524 | 524 | break; |
… |
… |
abstract class WP_Image_Editor { |
531 | 531 | $result = $this->rotate( 90 ); |
532 | 532 | |
533 | 533 | if ( ! is_wp_error( $result ) ) { |
534 | | $result = $this->flip( true, false ); |
| 534 | $result = $this->flip( false, true ); |
535 | 535 | } |
536 | 536 | |
537 | 537 | break; |