[wp-trac] [WordPress Trac] #46979: Bundled themes should pass version to wp_enqueue_style() to ensure proper cache busting
WordPress Trac
noreply at wordpress.org
Thu Apr 18 19:17:50 UTC 2019
#46979: Bundled themes should pass version to wp_enqueue_style() to ensure proper
cache busting
-------------------------------------+-----------------------
Reporter: dswebsme | Owner: dswebsme
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.2.1
Component: Themes | Version: 5.1.1
Severity: minor | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Changes (by dswebsme):
* keywords: needs-patch => has-patch needs-testing
Comment:
Patch attached.
This patch addresses stylesheet version issues originally reported by
@desrosj in bundled themes `twentyten` - `twentyseventeen`. The following
improvements are included:
- applies `YYYYMMDD` formatted version to stylesheets previously loaded
without a version
- updates outdated file versions based on last modified date in the
repository
- corrects version strings to match the preferred format of `YYYYMMDD`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46979#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list