Ticket #26735: 26735.2.diff
File 26735.2.diff, 495 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/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', true ); 925 } 924 926 include WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php'; 925 927 926 928 return true;