[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 15:54:32 UTC 2023


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

 * keywords:  good-first-bug has-patch => good-first-bug has-patch has-
     testing-info needs-testing
 * owner:  (none) => nicolefurlan
 * status:  new => assigned


Comment:

 **Testing Instructions**

 1. On `/wp-admin/themes.php`, live preview a theme that does not use full
 site editing (Twenty Twenty-One or older) by clicking "Live Preview" on
 one of the themes.
 2. On `/wp-admin/customize.php`, open up dev tools and inspect the DOM to
 find the `iframe` within `#customize-preview`.
 3. Open the URL in the `data-src` attribute in a new tab.
 4. Verify that the `customize_messenger_channel` URL parameter is removed,
 and that the admin bar is shown.

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


More information about the wp-trac mailing list