[wp-trac] [WordPress Trac] #24834: wp_enqueue_script passing null for $ver produces unexpected results
WordPress Trac
noreply at wordpress.org
Thu Jul 25 11:37:14 UTC 2013
#24834: wp_enqueue_script passing null for $ver produces unexpected results
--------------------------+------------------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5.2
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by bobbingwide):
Replying to [comment:1 johnbillion]:
> Off the top of my head, I think the Codex is incorrect. You should pass
boolean false as the `$ver` parameter to prevent the 'ver' query var being
appended to the script URL.
false (the default) is a request to use the WordPress version.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24834#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list