Created
February 3, 2021 18:00
-
-
Save wpmu-authors/541c93cfa9b89e1e6c7b48b06732d31f to your computer and use it in GitHub Desktop.
security-uninstall.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! current_user_can( 'activate_plugins' ) ) { | |
return; | |
} | |
check_admin_referer( 'bulk-plugins' ); | |
if ( __FILE__ != WP_UNINSTALL_PLUGIN ) { | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment