| @@ -25,7 +25,11 @@ | ||
| 25 | 25 | * @package Mlsimport |
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | // If uninstall not called from WordPress, then exit. |
| 29 | +// Guard: WordPress only defines WP_UNINSTALL_PLUGIN when running the uninstall hook, | |
| 30 | +// so any direct request to this file bails out here before any code runs. | |
| 29 | 31 | if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
| 30 | 32 | exit; |
| 31 | 33 | } |
| 34 | +// NOTE: past the guard the file currently performs no cleanup — the boilerplate skeleton | |
| 35 | +// only guards its entry point; no options/CPT/meta removal is implemented here. | |