[wp-trac] [WordPress Trac] #16699: wp_enqueue_script prints current WordPress version not script version

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 4 17:16:42 UTC 2011


#16699: wp_enqueue_script prints current WordPress version not script version
--------------------------+-----------------------
 Reporter:  rfair404      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by scribu):

 > So do you wanted to say that passing FALSE prevent any version number
 being printed?

 No, he meant NULL. FALSE means the WP version is used (akward, yes).

 > Passing NULL to optional parameters in PHP can trigger the default value

 Do you have a reference for that statement?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16699#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list