WordPress.org

Make WordPress Core

Ticket #13879: 13879.diff

File 13879.diff, 576 bytes (added by zeo, 5 years ago)
  • akismet.php

     
    11311131                $options = $newoptions = get_option('widget_akismet'); 
    11321132                if ( $_POST["akismet-submit"] ) { 
    11331133                        $newoptions['title'] = strip_tags(stripslashes($_POST["akismet-title"])); 
    1134                         if ( empty($newoptions['title']) ) $newoptions['title'] = 'Spam Blocked'; 
     1134                        if ( empty($newoptions['title']) ) $newoptions['title'] = __('Spam Blocked'); 
    11351135                } 
    11361136                if ( $options != $newoptions ) { 
    11371137                        $options = $newoptions;