[wp-trac] [WordPress Trac] #30032: Add ID to style element output by wp_add_inline_style
WordPress Trac
noreply at wordpress.org
Sat Oct 18 17:32:45 UTC 2014
#30032: Add ID to style element output by wp_add_inline_style
---------------------------+-----------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: Script Loader | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------
In order to support partial preview refreshes (#27355), it is important
for all partials being updated to have an element with a distinct CSS
selector for targeting. In the case of Twenty Fifteen, styles output via
`wp_add_inline_style()` may be dynamically refreshed by JS and so the
`style` elements output by this function should have distinct IDs. Once
this is in place, then the Twenty Fifteen theme can make use of it in
#29988.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30032>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list