[wp-trac] [WordPress Trac] #28557: Add Theme/Plugin-Version to URL not the WP-Version
WordPress Trac
noreply at wordpress.org
Tue Jun 17 12:33:28 UTC 2014
#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 | Focuses: template
---------------------------+------------------------------
Comment (by jdgrimes):
Replying to [comment:2 SergeyBiryukov]:
> Instead of making a simple fallback more complicate, I think we should
educate theme and plugin developers to always provide the version
argument.
We could even go so far as giving a notice when it is not supplied.
Replying to [comment:1 johnbillion]:
> If someone wants to do some benchmarks on the actual overhead of calling
get_plugin_data() (for multiple plugins) and get_theme_data() on each page
load then that would be a good place to start.
Running it for three plugins I got times ranging from 0.0017 to 0.0025
seconds. This is with the [http://wordpress.org/plugins/blackbox-debug-bar
Blackbox] profiler showing total times from 1.5-3.3 seconds. Running this
locally, with maybe 10-15 plugins installed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28557#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list