[wp-trac] [WordPress Trac] #58678: Site Health: Escaped HTML in test label

WordPress Trac noreply at wordpress.org
Fri Jun 30 11:11:28 UTC 2023


#58678: Site Health: Escaped HTML in test label
---------------------------------------+---------------------
 Reporter:  dlh                        |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  6.3
Component:  Site Health                |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"56117" 56117]:
 {{{
 #!CommitTicketReference repository="" revision="56117"
 Site Health: Correct the label for `wp-content` directory check.

 This removes HTML tags from the label, which were not displayed as
 expected due to escaping. Including the directory name in the label is
 also redundant, as it is already mentioned in the check result description
 directly below.

 Includes:
 * Adjusting a few other labels for consistency.
 * Moving `wp-content` out of the translatable string in a similar message
 in `WP_Upgrader::generic_strings()`.

 Follow-up to [55720].

 Props dlh, mukesh27, audrasjb, SergeyBiryukov.
 See #58678.
 }}}

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


More information about the wp-trac mailing list