mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-18 06:42:44 +00:00
`get_header_image_tag()` relies on the data returned by `get_custom_header()` to build the attributes for the header `<img>` element. However, `get_custom_header()` relies on data from the `header_image_data` theme mod rather than the `header_image` theme mod that `get_header_image()` uses. This can create inconsistencies when no header image is set, but a theme supports a default header image. This fixes the issue by making `get_custom_image_tag()` rely on the URL returned by `get_header_image()` instead. Props bradyvercher. Fixes #38633. git-svn-id: https://develop.svn.wordpress.org/trunk@39121 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| src | ||
| tests | ||
| tools/i18n | ||
| .editorconfig | ||
| .gitignore | ||
| .jshintrc | ||
| .travis.yml | ||
| Gruntfile.js | ||
| package.json | ||
| phpunit.xml.dist | ||
| wp-cli.yml | ||
| wp-config-sample.php | ||
| wp-tests-config-sample.php | ||