fix health check

This commit is contained in:
Matthias Pfefferle 2024-07-25 16:30:35 +02:00
parent cd8623da28
commit e8a3f67abb

View file

@ -279,12 +279,12 @@ class Health_Check {
$health_messages = array(
'webfinger_url_not_accessible' => \sprintf(
$not_accessible,
next( $url->get_error_data() )
$url->get_error_data()['data']
),
'webfinger_url_invalid_response' => \sprintf(
// translators: %s: Author URL
$invalid_response,
next( $url->get_error_data() )
$url->get_error_data()['data']
),
);
$message = null;