| Server IP : 161.248.188.39 / Your IP : 216.73.216.53 Web Server : Apache System : Linux 161-248-188-39.cprapid.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : mysoftbd ( 1002) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/mysoftbd/spschool.edu.bd/wp-content/plugins/pdf-embedder/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* We require PHP version 7.4+ for the whole plugin to work.
*
* @since 4.7.0
*/
add_action(
'admin_notices',
static function () {
?>
<div class="notice notice-error">
<p>
<?php
printf(
wp_kses( /* translators: %s - WPBeginner URL for recommended WordPress hosting. */
__( 'Your site is running an <strong>insecure version</strong> of PHP that is no longer supported. Please contact your web hosting provider to update your PHP version or switch to a <a href="%s" target="_blank" rel="noopener noreferrer">recommended WordPress hosting company</a>.', 'pdf-embedder' ),
[
'a' => [
'href' => [],
'target' => [],
'rel' => [],
],
'strong' => [],
]
),
'https://www.wpbeginner.com/wordpress-hosting/'
);
?>
<br><br>
<?php
echo wp_kses(
__( '<strong>Note:</strong> The PDF Embedder plugin is disabled on your site until you fix the issue.', 'pdf-embedder' ),
[
'strong' => [],
]
);
?>
</p>
</div>
<?php
// In case this is on plugin activation.
// phpcs:disable WordPress.Security.NonceVerification.Recommended
if ( isset( $_GET['activate'] ) ) {
unset( $_GET['activate'] );
}
// phpcs:enable WordPress.Security.NonceVerification.Recommended
}
);