mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
672372d118
commit
02983a458d
@ -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'] );
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user