<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[26505] trunk/src: Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/26505">26505</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2013-12-01 18:28:12 +0000 (Sun, 01 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes <a href="http://core.trac.wordpress.org/ticket/26244">#26244</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminwidgetsphp">trunk/src/wp-admin/widgets.php</a></li>
<li><a href="#trunksrcwpincludesdefaultwidgetsphp">trunk/src/wp-includes/default-widgets.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/widgets.php (26504 => 26505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/widgets.php 2013-12-01 17:59:32 UTC (rev 26504)
+++ trunk/src/wp-admin/widgets.php 2013-12-01 18:28:12 UTC (rev 26505)
</span><span class="lines">@@ -337,7 +337,7 @@
</span><span class="cx"> </div>
</span><span class="cx"> <div class="widget-holder">
</span><span class="cx"> <div class="sidebar-description">
</span><del>- <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>
</del><ins>+ <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>
</ins><span class="cx"> </div>
</span><span class="cx"> <div id="widget-list">
</span><span class="cx"> <?php wp_list_widgets(); ?>
</span></span></pre></div>
<a id="trunksrcwpincludesdefaultwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/default-widgets.php (26504 => 26505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/default-widgets.php 2013-12-01 17:59:32 UTC (rev 26504)
+++ trunk/src/wp-includes/default-widgets.php 2013-12-01 18:28:12 UTC (rev 26505)
</span><span class="lines">@@ -14,7 +14,7 @@
</span><span class="cx"> class WP_Widget_Pages extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'Your site’s WordPress Pages') );
</del><ins>+ $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'A list of your site’s Pages.') );
</ins><span class="cx"> parent::__construct('pages', __('Pages'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx"> class WP_Widget_Search extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site") );
</del><ins>+ $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
</ins><span class="cx"> parent::__construct('search', __('Search'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> class WP_Widget_Archives extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site’s posts') );
</del><ins>+ $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site’s Posts.') );
</ins><span class="cx"> parent::__construct('archives', __('Archives'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -298,7 +298,7 @@
</span><span class="cx"> class WP_Widget_Meta extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_meta', 'description' => __( "Log in/out, admin, feed and WordPress links") );
</del><ins>+ $widget_ops = array('classname' => 'widget_meta', 'description' => __( "Login, RSS, & WordPress.org links.") );
</ins><span class="cx"> parent::__construct('meta', __('Meta'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -350,7 +350,7 @@
</span><span class="cx"> class WP_Widget_Calendar extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site’s posts') );
</del><ins>+ $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site’s Posts.') );
</ins><span class="cx"> parent::__construct('calendar', __('Calendar'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -391,7 +391,7 @@
</span><span class="cx"> class WP_Widget_Text extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML'));
</del><ins>+ $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML.'));
</ins><span class="cx"> $control_ops = array('width' => 400, 'height' => 350);
</span><span class="cx"> parent::__construct('text', __('Text'), $widget_ops, $control_ops);
</span><span class="cx"> }
</span><span class="lines">@@ -441,7 +441,7 @@
</span><span class="cx"> class WP_Widget_Categories extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories" ) );
</del><ins>+ $widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories." ) );
</ins><span class="cx"> parent::__construct('categories', __('Categories'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -533,7 +533,7 @@
</span><span class="cx"> class WP_Widget_Recent_Posts extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent posts on your site") );
</del><ins>+ $widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "Your site’s most recent Posts.") );
</ins><span class="cx"> parent::__construct('recent-posts', __('Recent Posts'), $widget_ops);
</span><span class="cx"> $this->alt_option_name = 'widget_recent_entries';
</span><span class="cx">
</span><span class="lines">@@ -635,7 +635,7 @@
</span><span class="cx"> class WP_Widget_Recent_Comments extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'The most recent comments' ) );
</del><ins>+ $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'Your site’s most recent comments.' ) );
</ins><span class="cx"> parent::__construct('recent-comments', __('Recent Comments'), $widget_ops);
</span><span class="cx"> $this->alt_option_name = 'widget_recent_comments';
</span><span class="cx">
</span><span class="lines">@@ -742,7 +742,7 @@
</span><span class="cx"> class WP_Widget_RSS extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array( 'description' => __('Entries from any RSS or Atom feed') );
</del><ins>+ $widget_ops = array( 'description' => __('Entries from any RSS or Atom feed.') );
</ins><span class="cx"> $control_ops = array( 'width' => 400, 'height' => 200 );
</span><span class="cx"> parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops );
</span><span class="cx"> }
</span><span class="lines">@@ -1033,7 +1033,7 @@
</span><span class="cx"> class WP_Widget_Tag_Cloud extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array( 'description' => __( "Your most used tags in cloud format") );
</del><ins>+ $widget_ops = array( 'description' => __( "A cloud of your most used tags.") );
</ins><span class="cx"> parent::__construct('tag_cloud', __('Tag Cloud'), $widget_ops);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1100,7 +1100,7 @@
</span><span class="cx"> class WP_Nav_Menu_Widget extends WP_Widget {
</span><span class="cx">
</span><span class="cx"> function __construct() {
</span><del>- $widget_ops = array( 'description' => __('Use this widget to add one of your custom menus as a widget.') );
</del><ins>+ $widget_ops = array( 'description' => __('Add a custom menu to your sidebar.') );
</ins><span class="cx"> parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops );
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>