Add context and a missing period to widget descriptions. Fixes #26668. Props pavelevap, Hanni

git-svn-id: https://develop.svn.wordpress.org/trunk@27412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2014-03-05 17:25:11 +00:00
parent 0c8f553115
commit 164b860c93
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
public function __construct() {
parent::__construct( 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array(
'classname' => 'widget_twentyfourteen_ephemera',
'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts', 'twentyfourteen' ),
'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'twentyfourteen' ),
) );
/*

View File

@ -191,7 +191,7 @@ class WP_Widget_Search extends WP_Widget {
function __construct() {
$widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
parent::__construct('search', __('Search'), $widget_ops);
parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
}
function widget( $args, $instance ) {