[wp-trac] [WordPress Trac] #51251: Fix PHP notice when opening the edit image popup
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Sep  7 13:05:31 UTC 2020
    
    
  
#51251: Fix PHP notice when opening the edit image popup
-------------------------------------------------+-------------------------
 Reporter:  Mista-Flo                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5.2
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit     |     Focuses:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
 * status:  reopened => closed
 * resolution:   => fixed
Comment:
 In [changeset:"48956" 48956]:
 {{{
 #!CommitTicketReference repository="" revision="48956"
 Media: In `wp_ajax_image_editor()`, check if the `error` property exists
 before accessing it.
 This avoids a PHP notice when editing an image.
 Follow-up to [48375].
 Props Mista-Flo.
 Merges [48946] to the 5.5 branch.
 Fixes #51251.
 }}}
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51251#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list