[wp-trac] [WordPress Trac] #52785: Uncaught TypeError in media-editor.js on nav-menus.php
WordPress Trac
noreply at wordpress.org
Thu Mar 11 21:57:32 UTC 2021
#52785: Uncaught TypeError in media-editor.js on nav-menus.php
--------------------------+-----------------------------
Reporter: aristotelisj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
WordPress 5.7
To replicate:
Create a menu item.
Add a sub menu item to the above.
Click "Select Image" and choose an image in the media library pop-up.
Click the "SELECT" button to insert the image.
The image is added to the sub menu.
Click "Save Menu"
Now, open the sub menu again
Click "Select Image" and choose an image in the media library pop-up.
NOTICE: The button for inserting the image has changed to "Insert into
Post"!
Click "Insert into Post"
An error is recorded in the console and the image is NOT added.
Uncaught TypeError: Cannot read property 'value' of null
at Object.insert (media-editor.min.js?ver=5.7:formatted:315)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52785>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list