$info['wp-database'
]['fields'
]['max_allowed_packet'
] = array
( 'label' =>
__( 'Max allowed packet size'
),
'value' => self::
get_mysql_var( 'max_allowed_packet'
),
);
$info['wp-database'
]['fields'
]['max_connections'
] = array
( 'label' =>
__( 'Max connections number'
),
'value' => self::
get_mysql_var( 'max_connections'
),
);
// List must use plugins if there are any.
$mu_plugins =
get_mu_plugins();
foreach ( $mu_plugins as $plugin_path =>
$plugin ) { $plugin_version =
$plugin['Version'
];
$plugin_author =
$plugin['Author'
];
$plugin_version_string =
__( 'No version or author information is available.'
);
$plugin_version_string_debug = 'author: (undefined), version: (undefined)';
if ( !
empty( $plugin_version ) && !
empty( $plugin_author ) ) { /* translators: 1: Plugin version number. 2: Plugin author name. */
$plugin_version_string =
sprintf( __( 'Version %1$s by %2$s'
),
$plugin_version,
$plugin_author );