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/upgrade-db.php
<?php
/**
 * Template for displaying update message
 *
 * @version 4.0.1
 */

defined( 'ABSPATH' ) || exit;

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

<div class="notice notice-warning lp-notice-update-database">
	<p>
		<?php _e( '<strong>LearnPress update</strong> – We need to update your database to the latest version.', 'learnpress' ); ?>
	</p>
	<p>
		<a class="button button-primary lp-btn-go-upgrade-db"
			data-context="message"
			href="<?php echo esc_url_raw( admin_url( 'admin.php?page=learn-press-tools&tab=database&action=upgrade-db' ) ); ?>">
			<?php esc_html_e( 'Go to Update', 'learnpress' ); ?>
		</a>
	</p>
</div>