WordPress/wp-content/themes/twentyeleven/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
..
images Twenty Eleven, minor cleanup: remove extra spaces in CSS file and crush a few more kilobytes from a PNG file. 2013-04-29 21:02:25 +00:00
block-patterns.php Twenty Eleven: Pass template directory URLs through esc_url(). 2022-10-07 01:25:10 +00:00
theme-customizer.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
theme-options.css Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603 2011-06-02 22:19:58 +00:00
theme-options.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
theme-options.php Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
widgets.php Coding Standards: Add public visibility to methods in src directory. 2021-10-18 17:52:58 +00:00