[wp-trac] [WordPress Trac] #65014: Site Health: Error icon missing due to missing dashicons class

WordPress Trac noreply at wordpress.org
Fri Apr 3 16:03:59 UTC 2026


#65014: Site Health: Error icon missing due to missing dashicons class
-------------------------------------+-------------------------------------
 Reporter:  valani9099               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  7.1
Component:  Site Health              |     Version:  5.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  ui, css,
  patch                              |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots has-patch => has-screenshots needs-patch
 * version:  trunk => 5.3
 * component:  Administration => Site Health
 * milestone:  Awaiting Review => 7.1


Old description:

> Tested on WordPress 7.0-RC2, the error icon is not displayed in:
>
> Tools → Site Health → Status
>
> ### Issue
> The error indicator span is missing the required `dashicons` class.
>
> Current markup:
> <span class="error"></span>
>
> Expected markup:
> <span class="error dashicons"></span>
>
> Because of the missing `dashicons` class, the icon is not rendered.
>
> ### Steps to Reproduce
> 1. Install WordPress 7.0-RC2
> 2. Go to Tools → Site Health → Status
> 3. Trigger an error (e.g., block external requests or simulate failure)
> 4. Observe missing icon next to the error message
>
> ### Expected Behavior
> The error icon (dashicon) should be visible.
>
> ### Actual Behavior
> No icon is displayed.
>
> ### Proposed Fix
> Add the `dashicons` class to the error span element.
>
> ### Additional Notes
> I have verified that adding the `dashicons` class fixes the issue.
>
> Screenshots attached:
> - Before fix (icon missing)
> - After fix (icon visible)

New description:

 Tested on WordPress 7.0-RC2, the error icon is not displayed in:

 Tools → Site Health → Status

 ==== Issue
 The error indicator span is missing the required `dashicons` class.

 Current markup:
 `<span class="error"></span>`

 Expected markup:
 `<span class="error dashicons"></span>`

 Because of the missing `dashicons` class, the icon is not rendered.

 ==== Steps to Reproduce
 1. Install WordPress 7.0-RC2
 2. Go to Tools → Site Health → Status
 3. Trigger an error (e.g., block external requests or simulate failure)
 4. Observe missing icon next to the error message

 ==== Expected Behavior
 The error icon (dashicon) should be visible.

 ==== Actual Behavior
 No icon is displayed.

 ==== Proposed Fix
 Add the `dashicons` class to the error span element.

 ==== Additional Notes
 I have verified that adding the `dashicons` class fixes the issue.

 Screenshots attached:
 - Before fix (icon missing)
 - After fix (icon visible)

--

Comment:

 [45309] removed lines of CSS in favor of adding the `dashicons` class, and
 it missed at least this one message.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65014#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list