WordPress.org

Make WordPress Core

Ticket #16396: ticket.16396.diff

File ticket.16396.diff, 527 bytes (added by ptahdunbar, 3 years ago)
  • wp-admin/theme-editor.php

     
    8686                        fwrite($f, $newcontent); 
    8787                        fclose($f); 
    8888                        $location = "theme-editor.php?file=$file&theme=$theme&a=te&scrollto=$scrollto"; 
     89                         
     90                        do_action( 'edited_theme', $themes[$theme]['Stylesheet'], $file, $newcontent ); 
     91 
    8992                } else { 
    9093                        $location = "theme-editor.php?file=$file&theme=$theme&scrollto=$scrollto"; 
    9194                }