id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 41838 PHP notice for WP_UNINSTALL_PLUGIN already defined jsmoriss "When running delete_plugins() two or more times, a PHP notice is reported that ""Constant WP_UNINSTALL_PLUGIN already defined in /.../wordpress/wp-admin/includes/plugin.php on line 1012"". Running delete_plugins() for a single plugin, and then another, allows for better error control / reporting / management than submitting all plugins at once in a single array." defect (bug) closed normal Plugins 4.8.1 normal duplicate administration