Skip to content

Commit 3f7cbaf

Browse files
committed
Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.
git-svn-id: https://develop.svn.wordpress.org/trunk@26505 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c52896d commit 3f7cbaf

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/wp-admin/widgets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ function wp_widgets_access_body_class($classes) {
337337
</div>
338338
<div class="widget-holder">
339339
<div class="sidebar-description">
340-
<p class="description"><?php _e('Drag widgets from here to a sidebar on the right to activate them. Drag widgets back here to deactivate them and delete their settings.'); ?></p>
340+
<p class="description"><?php _e('To activate a widget drag it to a sidebar or click on it. To deactivate a widget and delete its settings, drag it back.'); ?></p>
341341
</div>
342342
<div id="widget-list">
343343
<?php wp_list_widgets(); ?>

src/wp-includes/default-widgets.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class WP_Widget_Pages extends WP_Widget {
1515

1616
function __construct() {
17-
$widget_ops = array('classname' => 'widget_pages', 'description' => __( 'Your site&#8217;s WordPress Pages') );
17+
$widget_ops = array('classname' => 'widget_pages', 'description' => __( 'A list of your site&#8217;s Pages.') );
1818
parent::__construct('pages', __('Pages'), $widget_ops);
1919
}
2020

@@ -190,7 +190,7 @@ function form( $instance ) {
190190
class WP_Widget_Search extends WP_Widget {
191191

192192
function __construct() {
193-
$widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site") );
193+
$widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
194194
parent::__construct('search', __('Search'), $widget_ops);
195195
}
196196

@@ -233,7 +233,7 @@ function update( $new_instance, $old_instance ) {
233233
class WP_Widget_Archives extends WP_Widget {
234234

235235
function __construct() {
236-
$widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site&#8217;s posts') );
236+
$widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site&#8217;s Posts.') );
237237
parent::__construct('archives', __('Archives'), $widget_ops);
238238
}
239239

@@ -298,7 +298,7 @@ function form( $instance ) {
298298
class WP_Widget_Meta extends WP_Widget {
299299

300300
function __construct() {
301-
$widget_ops = array('classname' => 'widget_meta', 'description' => __( "Log in/out, admin, feed and WordPress links") );
301+
$widget_ops = array('classname' => 'widget_meta', 'description' => __( "Login, RSS, &amp; WordPress.org links.") );
302302
parent::__construct('meta', __('Meta'), $widget_ops);
303303
}
304304

@@ -350,7 +350,7 @@ function form( $instance ) {
350350
class WP_Widget_Calendar extends WP_Widget {
351351

352352
function __construct() {
353-
$widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site&#8217;s posts') );
353+
$widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site&#8217;s Posts.') );
354354
parent::__construct('calendar', __('Calendar'), $widget_ops);
355355
}
356356

@@ -391,7 +391,7 @@ function form( $instance ) {
391391
class WP_Widget_Text extends WP_Widget {
392392

393393
function __construct() {
394-
$widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML'));
394+
$widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML.'));
395395
$control_ops = array('width' => 400, 'height' => 350);
396396
parent::__construct('text', __('Text'), $widget_ops, $control_ops);
397397
}
@@ -441,7 +441,7 @@ function form( $instance ) {
441441
class WP_Widget_Categories extends WP_Widget {
442442

443443
function __construct() {
444-
$widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories" ) );
444+
$widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories." ) );
445445
parent::__construct('categories', __('Categories'), $widget_ops);
446446
}
447447

@@ -533,7 +533,7 @@ function form( $instance ) {
533533
class WP_Widget_Recent_Posts extends WP_Widget {
534534

535535
function __construct() {
536-
$widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent posts on your site") );
536+
$widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "Your site&#8217;s most recent Posts.") );
537537
parent::__construct('recent-posts', __('Recent Posts'), $widget_ops);
538538
$this->alt_option_name = 'widget_recent_entries';
539539

@@ -635,7 +635,7 @@ function form( $instance ) {
635635
class WP_Widget_Recent_Comments extends WP_Widget {
636636

637637
function __construct() {
638-
$widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'The most recent comments' ) );
638+
$widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'Your site&#8217;s most recent comments.' ) );
639639
parent::__construct('recent-comments', __('Recent Comments'), $widget_ops);
640640
$this->alt_option_name = 'widget_recent_comments';
641641

@@ -742,7 +742,7 @@ function form( $instance ) {
742742
class WP_Widget_RSS extends WP_Widget {
743743

744744
function __construct() {
745-
$widget_ops = array( 'description' => __('Entries from any RSS or Atom feed') );
745+
$widget_ops = array( 'description' => __('Entries from any RSS or Atom feed.') );
746746
$control_ops = array( 'width' => 400, 'height' => 200 );
747747
parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops );
748748
}
@@ -1033,7 +1033,7 @@ function wp_widget_rss_process( $widget_rss, $check_feed = true ) {
10331033
class WP_Widget_Tag_Cloud extends WP_Widget {
10341034

10351035
function __construct() {
1036-
$widget_ops = array( 'description' => __( "Your most used tags in cloud format") );
1036+
$widget_ops = array( 'description' => __( "A cloud of your most used tags.") );
10371037
parent::__construct('tag_cloud', __('Tag Cloud'), $widget_ops);
10381038
}
10391039

@@ -1100,7 +1100,7 @@ function _get_current_taxonomy($instance) {
11001100
class WP_Nav_Menu_Widget extends WP_Widget {
11011101

11021102
function __construct() {
1103-
$widget_ops = array( 'description' => __('Use this widget to add one of your custom menus as a widget.') );
1103+
$widget_ops = array( 'description' => __('Add a custom menu to your sidebar.') );
11041104
parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops );
11051105
}
11061106

0 commit comments

Comments
 (0)