WordPress/wp-content/themes/twentyfourteen/inc
spacedmonkey f19df46584 Bundled Theme: Implement the_header_image_tag function for enhanced compatibility for older core themes.
The `the_header_image_tag` function was introduced in WordPress 4.4 as part of [35594]. It is used in all themes created post WordPress 4.4 that supported header images. The function `get_header_image_tag` continues to get updated with new image features, like lazy loading, async decoding and fetch priority. To ensure our core themes maintain compatibility and benefit from these enhancements, a backward compatibility shim has been applied, integrating the `the_header_image_tag` function into the following core themes:

- Twenty Ten
- Twenty Eleven
- Twenty Twelve
- Twenty Fourteen
- Twenty Sixteen

This change ensures future compatibility and modern image features are applied for header images to these older themes. 

Props spacedmonkey, flixos90, mukesh27.
Fixes #58675.
Built from https://develop.svn.wordpress.org/trunk@56583


git-svn-id: http://core.svn.wordpress.org/trunk@56095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-14 11:25:19 +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: Remove extra trailing spaces from translatable strings in block patterns. 2021-07-27 11:27:58 +00:00
custom-header.php Bundled Theme: Implement the_header_image_tag function for enhanced compatibility for older core themes. 2023-09-14 11:25:19 +00:00
customizer.php Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
featured-content.php Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
template-tags.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
widgets.php Coding Standards: Add public visibility to methods in src directory. 2021-10-18 17:52:58 +00:00