Ticket #26735: 26735.diff
File 26735.diff, 425 bytes (added by , 11 years ago) |
---|
-
plugin.php
920 920 } 921 921 unset($uninstallable_plugins); 922 922 923 define('WP_UNINSTALL_PLUGIN', $file); 923 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) 924 define('WP_UNINSTALL_PLUGIN', $file); 925 924 926 include WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php'; 925 927 926 928 return true;