'actions' =>
sprintf( '<p><a href="%s" target="_blank" rel="noopener">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
esc_url( $default_update_url ),
__( 'Learn more about why you should use HTTPS'
),
/* translators: Hidden accessibility text. */
__( '(opens in a new tab)'
) ),
'test' => 'https_status',
);
if ( !
wp_is_using_https() ) { /*
* If the website is not using HTTPS, provide more information
* about whether it is supported and how it can be enabled.
*/
$result['status'
] = 'recommended';
$result['label'
] =
__( 'Your website does not use HTTPS'
);
if ( wp_is_site_url_using_https() ) { if ( is_ssl() ) { $result['description'
] =
sprintf( '<p>%s</p>',