WordPress/wp-content/themes
Felix Arntz 615996176a Bundled Theme: Update default themes to use new script function signature.
In WordPress 6.3, the last parameter of `wp_register_script()` and `wp_enqueue_script()` was changed to an array rather than a boolean. While a boolean is still supported for backward compatibility, it makes sense to update the codebase to use the new signature.

The updates are fully backward compatible:
* In places where `true` was provided, `array( 'in_footer' => true )` will still be interpreted as a boolean true in WordPress versions prior to 6.3.
* In places where `false` was provided, the parameter is omitted which will work correctly throughout all WordPress versions given that is and has been the default value anyway.

Props mrinal013, huzaifaalmesbah, niravsherasiya7707, joemcgill.
Fixes #59302.
See #58634.

Built from https://develop.svn.wordpress.org/trunk@56526


git-svn-id: http://core.svn.wordpress.org/trunk@56038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-06 21:23:20 +00:00
..
twentyeleven Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentyfifteen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentyfourteen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentynineteen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentyseventeen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentysixteen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentyten Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
twentythirteen Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentytwelve Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentytwenty Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentytwentyone Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
twentytwentythree Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
twentytwentytwo Bundled Themes: Bump version numbers for WordPress 6.3. 2023-07-26 22:09:22 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00