Changes between Initial Version and Version 2 of Ticket #32557
- Timestamp:
- 06/03/2015 01:31:00 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32557
-
Property
Component
changed from
General
toScript Loader
-
Property
Component
changed from
-
Ticket #32557 – Description
initial v2 9 9 Below are the comparison of the same function under different version 10 10 version 4.2.2: 11 {{{ 11 12 function wp_print_scripts( $handles = false ) { 12 13 /** … … 31 32 return wp_scripts()->do_items( $handles ); 32 33 } 33 34 }}} 34 35 Version 4.0.2: 36 {{{ 35 37 function wp_print_scripts( $handles = false ) { 36 38 /** … … 57 59 return $wp_scripts->do_items( $handles ); 58 60 } 59 61 }}} 60 62 under the condition if ( !$handles ), there's an else statement $wp_scripts = new WP_Scripts(); in version 4.0.2, however, version 4.2.2, this statement is missing.