[wp-trac] [WordPress Trac] #44832: Lack of null check in wp-embed.js causes uncaught error to be thrown under certain circumstances.
WordPress Trac
noreply at wordpress.org
Fri Aug 31 15:42:17 UTC 2018
#44832: Lack of null check in wp-embed.js causes uncaught error to be thrown under
certain circumstances.
-------------------------------------------------+-------------------------
Reporter: dsifford | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.9
Component: Embeds | Version: 4.4
Severity: minor | Resolution: fixed
Keywords: good-first-bug has-patch needs- | Focuses: javascript
testing fixed-major |
-------------------------------------------------+-------------------------
Comment (by robhenley):
I agree the check should be there but isn't the issue the generic
"message" event that both `wp-embed.min.js` and Recaptcha's
`recaptcha__en.js` are using? So `receiveEmbedMessage` is being called by
Recaptcha without the proper arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44832#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list