Changeset 47355
- Timestamp:
- 02/25/2020 12:57:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r47353 r47355 42 42 * @param WP_Scripts $scripts WP_Scripts object. 43 43 */ 44 function wp_register_tinymce_scripts( &$scripts, $force_uncompressed = false ) {44 function wp_register_tinymce_scripts( $scripts, $force_uncompressed = false ) { 45 45 global $tinymce_version, $concatenate_scripts, $compress_scripts; 46 46 $suffix = wp_scripts_get_suffix(); … … 74 74 * @param WP_Scripts $scripts WP_Scripts object. 75 75 */ 76 function wp_default_packages_vendor( &$scripts ) {76 function wp_default_packages_vendor( $scripts ) { 77 77 global $wp_locale; 78 78 … … 177 177 * @return string Conditional polyfill inline script. 178 178 */ 179 function wp_get_script_polyfill( &$scripts, $tests ) {179 function wp_get_script_polyfill( $scripts, $tests ) { 180 180 $polyfill = ''; 181 181 foreach ( $tests as $test => $handle ) { … … 229 229 * @param WP_Scripts $scripts WP_Scripts object. 230 230 */ 231 function wp_default_packages_scripts( &$scripts ) {231 function wp_default_packages_scripts( $scripts ) { 232 232 $suffix = wp_scripts_get_suffix(); 233 233 … … 274 274 * @param WP_Scripts $scripts WP_Scripts object. 275 275 */ 276 function wp_default_packages_inline_scripts( &$scripts ) {276 function wp_default_packages_inline_scripts( $scripts ) { 277 277 global $wp_locale; 278 278 … … 522 522 * @param WP_Scripts $scripts WP_Scripts object. 523 523 */ 524 function wp_default_packages( &$scripts ) {524 function wp_default_packages( $scripts ) { 525 525 wp_default_packages_vendor( $scripts ); 526 526 wp_register_tinymce_scripts( $scripts ); … … 581 581 * @param WP_Scripts $scripts WP_Scripts object. 582 582 */ 583 function wp_default_scripts( &$scripts ) {583 function wp_default_scripts( $scripts ) { 584 584 $suffix = wp_scripts_get_suffix(); 585 585 $dev_suffix = wp_scripts_get_suffix( 'dev' ); … … 1616 1616 * @param WP_Styles $styles 1617 1617 */ 1618 function wp_default_styles( &$styles ) {1618 function wp_default_styles( $styles ) { 1619 1619 // Include an unmodified $wp_version. 1620 1620 require ABSPATH . WPINC . '/version.php';
Note: See TracChangeset
for help on using the changeset viewer.