Make WordPress Core

Ticket #39539: 39539.diff

File 39539.diff, 967 bytes (added by lukecavanagh, 8 years ago)

Basic patch

  • src/wp-admin/comment.php

     
    326326        exit();
    327327
    328328default:
    329         wp_die( __('Unknown action.') );
     329        wp_die( __('Invalid action.') );
    330330
    331331} // end switch
    332332
  • src/wp-includes/widgets/class-wp-widget-rss.php

     
    7171                }
    7272
    7373                if ( empty($title) )
    74                         $title = empty($desc) ? __('Unknown Feed') : $desc;
     74                        $title = empty($desc) ? __('Invalid Feed') : $desc;
    7575
    7676                /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
    7777                $title = apply_filters( 'widget_title', $title, $instance, $this->id_base );