Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

...

  • Loading branch information...
commit a453d1f3fbeacce4c2a023f3e22cd664464a2b4d 1 parent 158cda2
Bryan Petty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-includes/class-wp-image-editor-gd.php
2  wp-includes/class-wp-image-editor-gd.php
View
@@ -267,7 +267,7 @@ public function flip( $horz, $vert ) {
$sw = $vert ? -$w : $w;
$sh = $horz ? -$h : $h;
- if ( imagecopyresampled( $dst, $this->image, 0, 0, $sx, $sy, $w, $h, $sw, $sh ) ) {
+ if ( imagecopy( $dst, $this->image, 0, 0, $sx, $sy, $sw, $sh ) ) {
imagedestroy( $this->image );
$this->image = $dst;
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.