b0y-101 Mini Shell


Current Path : E:/www3/chiangrai/wp-content/plugins/filebird/includes/
File Upload :
Current File : E:/www3/chiangrai/wp-content/plugins/filebird/includes/Fallback.php

<?php

defined( 'ABSPATH' ) || exit;
add_action(
	'admin_notices',
	function() {
		if ( current_user_can( 'activate_plugins' ) ) {
			?>
<div class="notice notice-error is-dismissible filebird-notice">
    <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'] );
			}
		}
	}
);

Copyright © 2019 by b0y-101