| Server IP : 121.121.20.254 / Your IP : 216.73.216.146 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/filebird-pro/includes/ |
Upload File : |
<?php
defined( 'ABSPATH' ) || exit;
add_action(
'admin_notices',
function() {
if ( current_user_can( 'activate_plugins' ) ) {
?>
<div class="notice notice-error is-dismissible">
<p>
<strong><?php esc_html_e( 'It looks like you have another FileBird version installed, please delete it before activating this new version. All of the settings and data are still preserved.', 'filebird' ); ?>
<a
href="https://ninjateam.gitbook.io/filebird/how-to-update-filebird"><?php esc_html_e( 'Read more details.', 'filebird' ); ?></a>
</strong>
</p>
</div>
<?php
//phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( isset( $_GET['activate'] ) ) {
//phpcs:ignore WordPress.Security.NonceVerification.Recommended
unset( $_GET['activate'] );
}
}
}
);