Make WordPress Core

Changeset 27412


Ignore:
Timestamp:
03/05/2014 05:25:11 PM (10 years ago)
Author:
johnbillion
Message:

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

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php

    r27124 r27412  
    4444        parent::__construct( 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array(
    4545            'classname'   => 'widget_twentyfourteen_ephemera',
    46             'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts', 'twentyfourteen' ),
     46            'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'twentyfourteen' ),
    4747        ) );
    4848
  • trunk/src/wp-includes/default-widgets.php

    r27369 r27412  
    192192    function __construct() {
    193193        $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
    194         parent::__construct('search', __('Search'), $widget_ops);
     194        parent::__construct( 'search', _x( 'Search', 'Search widget' ), $widget_ops );
    195195    }
    196196
Note: See TracChangeset for help on using the changeset viewer.