[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:39:53 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):

 my patch ignores all the messing about with the $ver field and retests the
 value of $this->registered[$handle]->ver
 If the value is not null then the required version string is added.

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


More information about the wp-trac mailing list