[wp-trac] [WordPress Trac] #59480: Harden/modernize JS in WP_Customize_Manager::remove_frameless_preview_messenger_channel()

WordPress Trac noreply at wordpress.org
Fri Sep 29 21:37:22 UTC 2023


#59480: Harden/modernize JS in
WP_Customize_Manager::remove_frameless_preview_messenger_channel()
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
                                                 |  nicolefurlan
     Type:  defect (bug)                         |      Status:  closed
 Priority:  low                                  |   Milestone:  6.4
Component:  Customize                            |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-        |     Focuses:  javascript
  testing-info needs-testing                     |
-------------------------------------------------+-------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"56749" 56749]:
 {{{
 #!CommitTicketReference repository="" revision="56749"
 Customize: Harden and modernize URL manipulation in
 `WP_Customize_Manager::remove_frameless_preview_messenger_channel()`.

 Since IE11 is no longer supported, the `URL` and `URLSearchParams` APIs
 can now be leveraged for simpler and more robust URL manipulation. This
 was done similarly in [56383] for `embed.js`.

 Props nicolefurlan, dmsnell, westonruter.
 Fixes #59480.
 }}}

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


More information about the wp-trac mailing list