[wp-trac] [WordPress Trac] #23775: WP_Image_Editor Flip Method $horz and $vert arguments are backwards

WordPress Trac noreply at wordpress.org
Thu Mar 14 21:22:29 UTC 2013


#23775: WP_Image_Editor Flip Method $horz and $vert arguments are backwards
--------------------------+------------------------------
 Reporter:  alconebay     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.5.1
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by dh-shredder):

 I think the issue here is an understanding on what vertical and horizontal
 means.

 You're right, the current comments make it confusing!

 Horizontal means a flip along the horizontal axis.
 Vertical means a flip along the vertical axis.

 I've attached [attachment:23775.diff​ 23775.diff​], which revises the
 phpdoc to better explain what flips the booleans control.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23775#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list