HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/learnpress/inc/admin/views/admin-notices/wp-remote.php
<?php
/**
 * Template for display error wp_remote.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if ( ! isset( $data ) || ! isset( $data['check'] ) ) {
	return;
}

if ( ! is_wp_error( $data['check'] ) ) {
	return;
}

/**
 * @var WP_Error $wp_error
 */
$wp_error      = $data['check'];
$message_error = $wp_error->get_error_message();
?>

<div class="lp-admin-notice notice notice-error">
	<p>
		<?php
		echo sprintf(
			'%s %s. <a href="%s">%s</a>',
			'<strong>wp_remote_get</strong>: ',
			$message_error,
			admin_url( 'site-health.php' ),
			__( 'Check Site Health', 'learnpress' )
		);
		?>
	</p>
</div>