From 2b52250f1abb47ab00f62ad796f807933cf35a07 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 30 Mar 2020 01:23:47 +0000 Subject: [PATCH] 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 `
` tag if the test does not provide any actions. Props maxpertici, afercia. Fixes #48948. git-svn-id: https://develop.svn.wordpress.org/trunk@47529 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/site-health.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/site-health.php b/src/wp-admin/site-health.php index fb0d5c60f1..376ec80411 100644 --- a/src/wp-admin/site-health.php +++ b/src/wp-admin/site-health.php @@ -150,9 +150,11 @@ require_once ABSPATH . 'wp-admin/admin-header.php';