Site Health: Add missing `<ul>` tags for lists on Site Info page.

Props mukesh27, chetan200891, afercia.
Fixes #46693.
Built from https://develop.svn.wordpress.org/trunk@45068


git-svn-id: http://core.svn.wordpress.org/trunk@44877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-03-29 11:14:51 +00:00
parent 672372d118
commit 02983a458d
2 changed files with 3 additions and 2 deletions

View File

@ -136,7 +136,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
<?php
foreach ( $details['fields'] as $field ) {
if ( is_array( $field['value'] ) ) {
$values = '';
$values = '<ul>';
foreach ( $field['value'] as $name => $value ) {
$values .= sprintf(
'<li>%s: %s</li>',
@ -144,6 +144,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
esc_html( $value )
);
}
$values .= '</ul>';
} else {
$values = esc_html( $field['value'] );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta1-45067';
$wp_version = '5.2-beta1-45068';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.