[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 Oct 11 03:59: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                                        |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

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

 Props dsifford, kadamwhite.
 Merges [43593] and [43597] to the 5.0 branch.
 Fixes #44832.
 }}}

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


More information about the wp-trac mailing list