Changeset 28479 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 05/18/2014 08:51:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r28256 r28479 939 939 define('WP_UNINSTALL_PLUGIN', $file); 940 940 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . dirname( $file ) ); 941 include WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php';941 include( WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php' ); 942 942 943 943 return true; … … 951 951 952 952 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $file ); 953 include WP_PLUGIN_DIR . '/' . $file;953 include( WP_PLUGIN_DIR . '/' . $file ); 954 954 955 955 add_action( 'uninstall_' . $file, $callable );
Note: See TracChangeset
for help on using the changeset viewer.