<!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>[26230] trunk/src: More dash updates.</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/26230">26230</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2013-11-15 22:22:43 +0000 (Fri, 15 Nov 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>More dash updates.
* Shuffle around some pixels.
* Rename some things that weren't caught in <a href="http://core.trac.wordpress.org/changeset/26220">[26220]</a>.
* Revert default-widgets.php change from <a href="http://core.trac.wordpress.org/changeset/26144">[26144]</a>.
props lessbloat.
see <a href="http://core.trac.wordpress.org/ticket/25824">#25824</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunksrcwpadminjsdashboardjs">trunk/src/wp-admin/js/dashboard.js</a></li>
<li><a href="#trunksrcwpadminpostphp">trunk/src/wp-admin/post.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="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26229 => 26230)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css 2013-11-15 21:46:14 UTC (rev 26229)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-11-15 22:22:43 UTC (rev 26230)
</span><span class="lines">@@ -2578,7 +2578,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .postbox .inside {
</span><del>- margin: 12px 0;
</del><ins>+ margin: 11px 0;
</ins><span class="cx"> position: relative;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2653,7 +2653,7 @@
</span><span class="cx"> position: relative;
</span><span class="cx"> overflow: auto;
</span><span class="cx"> margin: 16px 0;
</span><del>- padding: 23px 10px 12px;
</del><ins>+ padding: 23px 10px 0;
</ins><span class="cx"> font-size: 13px;
</span><span class="cx"> line-height: 2.1em;
</span><span class="cx"> }
</span><span class="lines">@@ -2683,7 +2683,7 @@
</span><span class="cx"> position: absolute;
</span><span class="cx"> top: 5px;
</span><span class="cx"> right: 10px;
</span><del>- padding: 8px 3px;
</del><ins>+ padding: 20px 15px 0 3px;
</ins><span class="cx"> font-size: 13px;
</span><span class="cx"> text-decoration: none;
</span><span class="cx"> line-height: 1;
</span><span class="lines">@@ -2814,13 +2814,13 @@
</span><span class="cx">
</span><span class="cx"> /* Dashboard WordPress news */
</span><span class="cx">
</span><del>-#dashboard_rss .inside {
</del><ins>+#dashboard_primary .inside {
</ins><span class="cx"> margin: 0;
</span><span class="cx"> padding: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#dashboard_rss .widget-loading,
-#dashboard_rss .dashboard-widget-control-form {
</del><ins>+#dashboard_primary .widget-loading,
+#dashboard_primary .dashboard-widget-control-form {
</ins><span class="cx"> padding: 12px 12px 0;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2841,31 +2841,31 @@
</span><span class="cx"> margin-top: 4px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget {
</del><ins>+#dashboard_primary .rss-widget {
</ins><span class="cx"> border-bottom: 1px solid #eee;
</span><span class="cx"> font-size: 13px;
</span><del>- padding: 8px 12px 12px;
</del><ins>+ padding: 8px 12px 10px;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget:last-child {
</del><ins>+#dashboard_primary .rss-widget:last-child {
</ins><span class="cx"> border-bottom: none;
</span><del>- padding-bottom: 0;
</del><ins>+ padding-bottom: 8px;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget a {
</del><ins>+#dashboard_primary .rss-widget a {
</ins><span class="cx"> font-weight: normal;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget span,
-.rss-widget span.rss-date {
</del><ins>+#dashboard_primary .rss-widget span,
+#dashboard_primary .rss-widget span.rss-date {
</ins><span class="cx"> color: #bbb;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget span.rss-date {
</del><ins>+#dashboard_primary .rss-widget span.rss-date {
</ins><span class="cx"> margin-left: 12px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.rss-widget ul li {
</del><ins>+#dashboard_primary .rss-widget ul li {
</ins><span class="cx"> margin-bottom: 8px;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2889,7 +2889,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dash-right-now .main {
</span><del>- padding: 0 12px;
</del><ins>+ padding: 0 12px 11px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dash-right-now .main p {
</span><span class="lines">@@ -2909,9 +2909,8 @@
</span><span class="cx"> #dash-right-now .sub {
</span><span class="cx"> color: #bfbbbb;
</span><span class="cx"> background: #f5f5f5;
</span><del>- border-top-color: #dedede;
- padding: 12px 12px 6px 12px;
- border-top: 1px solid;
</del><ins>+ border-top: 1px solid #eee;
+ padding: 10px 12px 6px 12px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dash-right-now .sub h4 {
</span><span class="lines">@@ -2969,6 +2968,11 @@
</span><span class="cx">
</span><span class="cx"> /* Dashboard Quick Draft */
</span><span class="cx">
</span><ins>+#dashboard_quick_press .inside {
+ margin: 0;
+ padding: 0;
+}
+
</ins><span class="cx"> #dashboard_quick_press div.updated {
</span><span class="cx"> margin-bottom: 10px;
</span><span class="cx"> border: 1px solid #eee;
</span><span class="lines">@@ -2976,20 +2980,15 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press form {
</span><del>- padding: 0 12px 1px 12px;
</del><span class="cx"> overflow: hidden;
</span><ins>+ margin: 12px 12px 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press .drafts,
</span><span class="cx"> #dashboard_quick_press .easy-blogging {
</span><del>- padding: 8px 12px 0;
</del><ins>+ padding: 10px 0 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#dashboard-widgets .postbox .inside {
- margin: 10px 0;
- padding: 0;
-}
-
</del><span class="cx"> /* Dashboard Quick Draft - Form styling */
</span><span class="cx">
</span><span class="cx"> input#save-post {
</span><span class="lines">@@ -3080,21 +3079,21 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press .drafts h4 {
</span><del>- margin: 0 0 8px 0;
</del><ins>+ margin: 0 12px 8px;
</ins><span class="cx"> font-weight: normal;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press .drafts .view-all {
</span><span class="cx"> float: right;
</span><del>- margin-top: 0;
</del><ins>+ margin: 0 12px 0 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-#dashboard_rss a.rsswidget {
</del><ins>+#dashboard_primary a.rsswidget {
</ins><span class="cx"> font-weight: normal;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press .drafts ul {
</span><del>- margin: 0;
</del><ins>+ margin: 0 12px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard_quick_press .drafts li {
</span><span class="lines">@@ -3188,12 +3187,13 @@
</span><span class="cx"> float: none;
</span><span class="cx"> border-top: 1px solid #eeeeee;
</span><span class="cx"> margin-top: 0;
</span><del>- padding: 8px 12px 0 12px;
</del><ins>+ padding: 8px 12px 4px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #future-posts .show-more,
</span><span class="cx"> #published-posts .show-more {
</span><span class="cx"> float: right;
</span><ins>+ margin-right: 12px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #future-posts ul,
</span><span class="lines">@@ -3219,7 +3219,7 @@
</span><span class="cx"> .activity-block {
</span><span class="cx"> border-bottom: 1px solid #eee;
</span><span class="cx"> overflow: hidden;
</span><del>- padding: 8px 0 0;
</del><ins>+ padding: 8px 0 4px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .activity-block:last-child {
</span><span class="lines">@@ -7832,7 +7832,7 @@
</span><span class="cx"> #poststuff h3,
</span><span class="cx"> .metabox-holder h3 {
</span><span class="cx"> font-size: 14px;
</span><del>- padding: 7px 12px;
</del><ins>+ padding: 8px 12px;
</ins><span class="cx"> margin: 0;
</span><span class="cx"> line-height: 1.4;
</span><span class="cx"> }
</span><span class="lines">@@ -8276,7 +8276,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #title-wrap #title-prompt-text {
</span><del>- font-size: 1em;
</del><ins>+ font-size: 1.1em;
</ins><span class="cx"> padding: 5px 8px;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunksrcwpadminjsdashboardjs"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/js/dashboard.js (26229 => 26230)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/js/dashboard.js 2013-11-15 21:46:14 UTC (rev 26229)
+++ trunk/src/wp-admin/js/dashboard.js 2013-11-15 22:22:43 UTC (rev 26230)
</span><span class="lines">@@ -62,12 +62,12 @@
</span><span class="cx"> quickPressLoad = function() {
</span><span class="cx"> var act = $('#quickpost-action'), t;
</span><span class="cx"> t = $('#quick-press').submit( function() {
</span><del>- $('#dashboard_quick_draft #publishing-action .spinner').show();
</del><ins>+ $('#dashboard_quick_press #publishing-action .spinner').show();
</ins><span class="cx"> $('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').prop('disabled', true);
</span><span class="cx">
</span><span class="cx"> $.post( t.attr( 'action' ), t.serializeArray(), function( data ) {
</span><span class="cx"> // Replace the form, and prepend the published post.
</span><del>- $('#dashboard_quick_draft .inside').html( data );
</del><ins>+ $('#dashboard_quick_press .inside').html( data );
</ins><span class="cx"> $('#quick-press').removeClass('initial-form');
</span><span class="cx"> quickPressLoad();
</span><span class="cx"> highlightLatestPost();
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> function highlightLatestPost () {
</span><del>- var latestPost = $('#draft-list li').first();
</del><ins>+ var latestPost = $('.drafts ul li').first();
</ins><span class="cx"> latestPost.css('background', '#fffbe5');
</span><span class="cx"> setTimeout(function () {
</span><span class="cx"> latestPost.css('background', 'none');
</span></span></pre></div>
<a id="trunksrcwpadminpostphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/post.php (26229 => 26230)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/post.php 2013-11-15 21:46:14 UTC (rev 26229)
+++ trunk/src/wp-admin/post.php 2013-11-15 22:22:43 UTC (rev 26230)
</span><span class="lines">@@ -105,14 +105,14 @@
</span><span class="cx"> $error_msg = "Oops, you don't have access to add new drafts.";
</span><span class="cx">
</span><span class="cx"> if ( $error_msg )
</span><del>- return wp_dashboard_quick_draft( $error_msg );
</del><ins>+ return wp_dashboard_quick_press( $error_msg );
</ins><span class="cx">
</span><span class="cx"> $post = get_post( $_REQUEST['post_ID'] );
</span><span class="cx"> check_admin_referer( 'add-' . $post->post_type );
</span><span class="cx"> edit_post();
</span><span class="cx"> // output the quickdraft dashboard widget
</span><span class="cx"> require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
</span><del>- wp_dashboard_quick_draft();
</del><ins>+ wp_dashboard_quick_press();
</ins><span class="cx"> exit;
</span><span class="cx"> break;
</span><span class="cx">
</span></span></pre></div>
<a id="trunksrcwpincludesdefaultwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/default-widgets.php (26229 => 26230)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/default-widgets.php 2013-11-15 21:46:14 UTC (rev 26229)
+++ trunk/src/wp-includes/default-widgets.php 2013-11-15 22:22:43 UTC (rev 26230)
</span><span class="lines">@@ -904,7 +904,7 @@
</span><span class="cx"> if ( $link == '' ) {
</span><span class="cx"> echo "<li>$title{$date}{$summary}{$author}</li>";
</span><span class="cx"> } else {
</span><del>- echo "<li><div class='rss-title-row'><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}</div>{$summary}{$author}</li>";
</del><ins>+ echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>";
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> echo '</ul>';
</span></span></pre>
</div>
</div>
</body>
</html>