From 164b860c93bd3cf8df6a8555693d6ce57452b4e9 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 5 Mar 2014 17:25:11 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentyfourteen/inc/widgets.php | 2 +- src/wp-includes/default-widgets.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/inc/widgets.php b/src/wp-content/themes/twentyfourteen/inc/widgets.php index 1e8b484ea1..dec749c952 100644 --- a/src/wp-content/themes/twentyfourteen/inc/widgets.php +++ b/src/wp-content/themes/twentyfourteen/inc/widgets.php @@ -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' ), ) ); /* diff --git a/src/wp-includes/default-widgets.php b/src/wp-includes/default-widgets.php index 8863c5dbf5..851e94c1e4 100644 --- a/src/wp-includes/default-widgets.php +++ b/src/wp-includes/default-widgets.php @@ -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 ) {