diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 2a3855b146..72df262175 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -983,6 +983,8 @@ class WP_Debug_Data { * a prefix, both for consistency as well as avoiding key collisions. Note that the array keys are used as labels * for the copied data. * + * All strings are expected to be plain text except $description that can contain inline HTML tags (see below). + * * @since 5.2.0 * * @param array $args { @@ -994,7 +996,7 @@ class WP_Debug_Data { * * @type string $label The title for this section of the debug output. * @type string $description Optional. A description for your information section which may contain basic HTML - * markup: `em`, `strong` and `a` for linking to documentation or putting emphasis. + * markup, inline tags only as it is outputted in a paragraph. * @type boolean $show_count Optional. If set to `true` the amount of fields will be included in the title for * this section. * @type boolean $private Optional. If set to `true` the section and all associated fields will be excluded diff --git a/src/wp-admin/site-health-info.php b/src/wp-admin/site-health-info.php index a93b7bcdc7..42f2be0367 100644 --- a/src/wp-admin/site-health-info.php +++ b/src/wp-admin/site-health-info.php @@ -137,16 +137,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );