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

Built from https://develop.svn.wordpress.org/trunk@27412


git-svn-id: http://core.svn.wordpress.org/trunk@27259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-03-05 17:26:17 +00:00
parent ff8844deae
commit 79d274f2f6
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() { public function __construct() {
parent::__construct( 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array( parent::__construct( 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array(
'classname' => 'widget_twentyfourteen_ephemera', '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() { function __construct() {
$widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") ); $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 ) { function widget( $args, $instance ) {