[wp-trac] [WordPress Trac] #64792: Consider changing code tags to regular text for dimension values in "Site Icon" help text
WordPress Trac
noreply at wordpress.org
Wed Mar 4 14:31:19 UTC 2026
#64792: Consider changing code tags to regular text for dimension values in "Site
Icon" help text
--------------------------+-----------------------------
Reporter: juanfra | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Text Changes | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The Site Icon help text uses `<code>` tags around dimension values, which
is probably not needed given the context.
This shows up in two places ([https://github.com/WordPress/wordpress-
develop/blob/21f3a54e3b85475b3537838278ee22b534b1da2f/src/wp-admin
/options-general.php#L215 one] and [https://github.com/WordPress
/wordpress-develop/blob/21f3a54e3b85475b3537838278ee22b534b1da2f/src/wp-
includes/class-wp-customize-manager.php#L5213 two]). The dimensions are
just regular measurements in help text, so they don't need the monospace
treatment.
I'd propose to wrap them in `<strong>` if the objective is to add
prominence. Or avoid any markup at all if we don't want to be really
highlighting these values.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64792>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list