[wp-trac] [WordPress Trac] #16699: wp_enqueue_script prints current WordPress version not script version
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 28 14:19:00 UTC 2011
#16699: wp_enqueue_script prints current WordPress version not script version
--------------------------+----------------------
Reporter: rfair404 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: minor | Resolution: invalid
Keywords: |
--------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
This is the expected behaviour.
You can pass a `NULL` parameter in as the version to prevent any version
number being printed. See the
[http://core.trac.wordpress.org/browser/trunk/wp-includes/functions.wp-
scripts.php#L37 documentation] for this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16699#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list