[wp-trac] [WordPress Trac] #39997: Bundled Themes: Pass theme version number to wp_enqueue_style()
WordPress Trac
noreply at wordpress.org
Tue Apr 9 15:01:32 UTC 2019
#39997: Bundled Themes: Pass theme version number to wp_enqueue_style()
---------------------------+------------------------
Reporter: parsmizban | Owner: desrosj
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.2
Component: Bundled Theme | Version: 4.7.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+------------------------
Changes (by desrosj):
* keywords: has-patch commit => has-patch
Comment:
This is looking good. I am wondering if we should make the versions for
the supplemental stylesheets dynamic as well. This would ensure proper
cache busting occurs when new themes are released.
For example, TwentySeventeen has `twentyseventeen-block-style`,
`twentyseventeen-colors-dark`, and several IE stylesheets that have a hard
coded version.
We should also open a ticket to explore passing the theme version to
`wp_enqueue_script()` calls.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39997#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list