[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 17:38:56 UTC 2019


#46979: Bundled themes should pass version to wp_enqueue_style() to ensure proper
cache busting
--------------------------+---------------------
 Reporter:  dswebsme      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.2.1
Component:  Themes        |     Version:  5.1.1
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Old description:

> Bundled themes should pass the current theme version ($ver parameter) to
> `wp_enqueue_style()` to ensure theme stylesheets properly bypass cache
> after being updated.
>
> Dev discussion on the subject took place here: #39997

New description:

 Bundled themes should pass the current theme version (`$ver` parameter) to
 `wp_enqueue_style()` to ensure theme stylesheets properly bypass cache
 after being updated.

 Dev discussion on the subject took place here: #39997

 This affects themes `twentyten` - `twentyseventeen`. Bundled theme
 `twentynineteen` already passes a dynamic `$ver` parameter.

--

Comment (by dswebsme):

 Replying to [comment:1 afercia]:

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


More information about the wp-trac mailing list