diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 25f6828787..5178c9b60c 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -1003,7 +1003,7 @@ function uninstall_plugin($plugin) { unset($uninstallable_plugins); define('WP_UNINSTALL_PLUGIN', $file); - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . dirname( $file ) ); + wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $file ); include( WP_PLUGIN_DIR . '/' . dirname($file) . '/uninstall.php' ); return true; diff --git a/wp-includes/version.php b/wp-includes/version.php index b6b00964cb..b5a1a32936 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37330'; +$wp_version = '4.6-alpha-37331'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.