[wp-trac] [WordPress Trac] #26823: wp_get_image_editor->multi_resize()

WordPress Trac noreply at wordpress.org
Mon Jan 13 20:23:19 UTC 2014


#26823: wp_get_image_editor->multi_resize()
-------------------------------------------+------------------------------
 Reporter:  pbearne                        |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Inline Docs                    |     Version:  3.5
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |
-------------------------------------------+------------------------------

Comment (by pbearne):

 Replying to [comment:4 alconebay]:

 I thought about changing the AND to OR but after looking at the later
 call's it looked like passing NULL to them would cause problems so I felt
 that change one null to the int_max and requiring other to be an INT was
 the best way to handle this.

 I feel it right the the function allow NULL for unrestricted is the right
 call this feel right for me.

 The Question is should all the re-sizes work this way as well?

 Paul

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26823#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list