[wp-trac] [WordPress Trac] #51251: Fix PHP notice when opening the edit image popup
WordPress Trac
noreply at wordpress.org
Sat Sep 5 12:24:16 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 | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
Hi there, I noticed a PHP notice on the last trunk version while playing
with the media library.
Steps to reproduce:
- Activate Query Monitor plugin
- Open your web console
- Go to upload.php page on the backend
- Select grid mode
- Click on an attachment image
- Click on 'Edit image' button
- An edit image popup loads, and you should see a PHP notice saying that
$msg->error is undefined
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51251>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list