#41838 closed defect (bug) (duplicate)
PHP notice for WP_UNINSTALL_PLUGIN already defined
Reported by: | jsmoriss | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8.1 |
Component: | Plugins | Keywords: | |
Focuses: | administration | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Thanks for the report! We're already tracking this issue in #26735.