WordPress/wp-admin
audrasjb 737185823f Themes: Avoid double hashed value for background-color in custom backgrounds.
This changeset replaces the hardcoded hash symbol with running `maybe_hash_hex_color()` on the full `background-color` value provided via the custom background feature, so the hash is only added if it is needed. By doing so, if a theme developer sets a background color value that uses a hash (#), WordPress won't add an additional hash anymore when outputting the relevant CSS. Duplicate hash symbols (##) can break CSS background color declarations.

Props hovhanneshovakimyan, joyously, poena, 
Fixes #40057.



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


git-svn-id: http://core.svn.wordpress.org/trunk@59155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-11 21:06:25 +00:00
..
css Post Thumbnails: Fix squashed featured image in wp-admin. 2025-02-07 14:36:23 +00:00
images
includes Themes: Avoid double hashed value for background-color in custom backgrounds. 2025-02-11 21:06:25 +00:00
js Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
maint
network Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
user
about.php
admin-ajax.php
admin-footer.php
admin-functions.php
admin-header.php Themes: Add wp-theme-<name> and wp-child-theme-<name> classes to body_class. 2025-01-24 10:58:24 +00:00
admin-post.php
admin.php
async-upload.php
authorize-application.php
comment.php
contribute.php
credits.php
custom-background.php
custom-header.php
customize.php Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
edit-comments.php
edit-form-advanced.php
edit-form-blocks.php Editor: Preload Global Styles REST requests based on user permissions. 2025-02-10 03:56:23 +00:00
edit-form-comment.php
edit-link-form.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
edit-tag-form.php
edit-tags.php Administration: Fix pagination in categories, tags, and plugins tables. 2025-01-29 17:40:21 +00:00
edit.php
erase-personal-data.php
export-personal-data.php
export.php
freedoms.php
import.php Import: Add the import_filters action hook to the Import screen. 2025-01-24 14:02:21 +00:00
index.php
install-helper.php
install.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
link-add.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
link-manager.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
link-parse-opml.php
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
media.php
menu-header.php
menu.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php
network.php
options-discussion.php
options-general.php General: Remove duplicate type="button" attribute from the "Change|Choose Site Icon" button. 2025-02-11 15:57:21 +00:00
options-head.php
options-media.php
options-permalink.php
options-privacy.php
options-reading.php
options-writing.php
options.php
plugin-editor.php
plugin-install.php
plugins.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
post-new.php
post.php
press-this.php
privacy-policy-guide.php
privacy.php
profile.php
revision.php
setup-config.php
site-editor.php Site Editor: Redirect deprecated URLs to path based routing. 2025-02-10 02:40:23 +00:00
site-health-info.php
site-health.php
term.php
theme-editor.php
theme-install.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
themes.php Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
tools.php
update-core.php
update.php
upgrade-functions.php
upgrade.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
upload.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
user-edit.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
user-new.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
users.php Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
widgets-form-blocks.php
widgets-form.php
widgets.php