[wp-trac] [WordPress Trac] #48948: Fix the Site Health template to produce valid HTML
WordPress Trac
noreply at wordpress.org
Mon Mar 30 01:24:01 UTC 2020
#48948: Fix the Site Health template to produce valid HTML
---------------------------------------+-----------------------------
Reporter: afercia | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Site Health | Version: 5.2
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch | Focuses:
---------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"47529" 47529]:
{{{
#!CommitTicketReference repository="" revision="47529"
Site Health: Remove paragraph tag from the actions container in issue
template.
Most of the tests pass content that is already wrapped in a paragraph or
list tags, thus producing nested paragraphs or invalid markup.
Additionally, don't output an empty `<div>` tag if the test does not
provide any actions.
Props maxpertici, afercia.
Fixes #48948.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48948#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list