Ticket #28102: 28102.patch
File 28102.patch, 704 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/plugin.php
538 538 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); // we'll override this later if the plugin can be included without fatal error 539 539 ob_start(); 540 540 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); 541 $_wp_plugin_file = $plugin; 541 542 include_once( WP_PLUGIN_DIR . '/' . $plugin ); 543 $plugin = $_wp_plugin_file; // https://core.trac.wordpress.org/ticket/28102 542 544 543 545 if ( ! $silent ) { 544 546 /**