Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53801, comment 8


Ignore:
Timestamp:
08/19/2021 02:55:06 AM (3 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53801, comment 8

    initial v1  
    11I agree that both options risk some bc breaks, but getting all ideas out on the table is exactly what we need!
    22
    3 A thought regarding the styling or Javascript needed by legacy widgets. We could get the enqueued styles and scripts for the legacy widget, and output them to the legacy widget preview iframe, thereby skipping over any other output. We should be able to get those specific scripts/styles from the queue, as that's the key function that `wp_head()` and `wp_footer()` are carrying out in this scenario?
     3A thought regarding the styling or Javascript needed by legacy widgets. We could get the enqueued styles and scripts for the legacy widget, and output them to the legacy widget preview iframe, thereby skipping over any other output. We should be able to get those specific scripts/styles from the queue, as that's the key function that `wp_head()` and `wp_footer()` are carrying out in this scenario, right?