[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
Thu Aug 30 10:29:06 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                                        |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43593" 43593]:
 {{{
 #!CommitTicketReference repository="" revision="43593"
 Embeds: Avoid a JS error in `wp.receiveEmbedMessage` if `data` parameter
 is not set.

 Props dsifford, kadamwhite.
 Fixes #44832.
 }}}

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


More information about the wp-trac mailing list