WordPress.org

Make WordPress Core

Changeset 26505


Ignore:
Timestamp:
12/01/2013 06:28:12 PM (8 years ago)
Author:
azaozz
Message:

Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/widgets.php

    r26426 r26505  
    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">
  • trunk/src/wp-includes/default-widgets.php

    r26230 r26505  
    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    }
     
    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    }
     
    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    }
     
    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    }
     
    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    }
     
    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);
     
    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    }
     
    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';
     
    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';
     
    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 );
     
    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    }
     
    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    }
Note: See TracChangeset for help on using the changeset viewer.