Ticket #16399: ticket.16399.diff

File ticket.16399.diff, 485 bytes (added by ptahdunbar, 2 years ago)
  • wp-admin/plugin-editor.php

     
    6262 
    6363                $network_wide = is_plugin_active_for_network( $file ); 
    6464 
     65                do_action( 'edited_plugin', $plugin_files[0], $file, $newcontent ); 
     66 
    6567                // Deactivate so we can test it. 
    6668                if ( is_plugin_active($file) || isset($_POST['phperror']) ) { 
    6769                        if ( is_plugin_active($file) )