[wp-trac] [WordPress Trac] #28557: Add Theme/Plugin-Version to URL not the WP-Version

WordPress Trac noreply at wordpress.org
Sun Jun 7 00:04:48 UTC 2015


#28557: Add Theme/Plugin-Version to URL not the WP-Version
-----------------------------------+------------------------------
 Reporter:  Drivingralle           |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Script Loader          |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  template
-----------------------------------+------------------------------

Comment (by hinnerk):

 Thank's @Drivingralle for figuring that out!
 @Drivingralle's approach is using wp_get_theme() which is using the cached
 'Version' of a WP_Theme object that might be created in every page call,
 anyway. @johnbillion is mentioning get_theme_data() having a performance
 issue - but get_theme_data() is deprecated, anyway.
 Anything that I misunderstand regarding any performance issue using
 wp_get_theme()?

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


More information about the wp-trac mailing list