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