[wp-trac] [WordPress Trac] #36316: Image editor: improve form validation errors handling

WordPress Trac noreply at wordpress.org
Tue Jul 5 13:37:00 UTC 2016


#36316: Image editor: improve form validation errors handling
---------------------------------------+-----------------------------
 Reporter:  afercia                    |       Owner:  afercia
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  4.6
Component:  Media                      |     Version:
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, javascript
---------------------------------------+-----------------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37966"]:
 {{{
 #!CommitTicketReference repository="" revision="37966"
 Media: Improve form validation errors handling when editing images.

 * Use the same check for a numeric value used on the crop fields on all
 the other fields: don't display "NaN", just empty the field.
 * Remove the inline script that runs the initialization of the image
 editor and call it after the editor UI is fully ready.

 Props afercia.
 Fixes #36316.
 }}}

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


More information about the wp-trac mailing list