WordPress/wp-content/themes/twentynineteen/inc
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
..
back-compat.php Coding Standards: Remove a one-time `$message` variable in WordPress version requirement notices for bundled themes. 2021-06-15 15:24:58 +00:00
block-patterns.php Bundled Themes: Correct `@since` tags for block patterns. 2021-07-03 09:41:58 +00:00
color-patterns.php Bundled Themes: Correct `@since` tags for block patterns. 2021-07-03 09:41:58 +00:00
customizer.php Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
helper-functions.php Twenty Nineteen: Remove unnecessary references to some variables in `twentynineteen_hsl_hex()` before they are defined. 2020-11-15 12:16:09 +00:00
icon-functions.php Bundled Theme: Twenty Nineteen: Improve social media icon dimension attributes. 2023-08-24 15:34:17 +00:00
template-functions.php Twenty Nineteen: Add fragment ID to paginated links. 2023-06-27 08:11:23 +00:00
template-tags.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00