[wp-trac] [WordPress Trac] #51251: Fix PHP notice when opening the edit image popup

WordPress Trac noreply at wordpress.org
Sat Sep 5 12:34:24 UTC 2020


#51251: Fix PHP notice when opening the edit image popup
-------------------------------------------------+-------------------------
 Reporter:  Mista-Flo                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by Mista-Flo):

 * keywords:  has-patch => has-patch has-screenshots needs-testing


Comment:

 Can you please try to reproduce the issue? Just to be sure it's not
 something related to me, but when looking at the code, it seems better to
 check that errors property exist in error object, otherwise it can throw
 an error anyway.

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


More information about the wp-trac mailing list