<!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>[21789] trunk/wp-admin: New button styles.</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, #logmsg > ol { margin-left: 0; 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/21789">21789</a></dd>
<dt>Author</dt> <dd>koopersmith</dd>
<dt>Date</dt> <dd>2012-09-08 04:58:34 +0000 (Sat, 08 Sep 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>New button styles.
Using the new buttons:
* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".
For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.
get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).
props lessbloat, helenyhou, trepmal, nacin. see <a href="http://core.trac.wordpress.org/ticket/21598">#21598</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsscolorsclassiccss">trunk/wp-admin/css/colors-classic.css</a></li>
<li><a href="#trunkwpadmincsscolorsfreshcss">trunk/wp-admin/css/colors-fresh.css</a></li>
<li><a href="#trunkwpadmincssiecss">trunk/wp-admin/css/ie.css</a></li>
<li><a href="#trunkwpadmincsswpadminrtlcss">trunk/wp-admin/css/wp-admin-rtl.css</a></li>
<li><a href="#trunkwpadmincsswpadmincss">trunk/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunkwpadmineditformadvancedphp">trunk/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunkwpadminincludesclasswpcommentslisttablephp">trunk/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplinkslisttablephp">trunk/wp-admin/includes/class-wp-links-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplisttablephp">trunk/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmedialisttablephp">trunk/wp-admin/includes/class-wp-media-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppluginslisttablephp">trunk/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppostslisttablephp">trunk/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpuserslisttablephp">trunk/wp-admin/includes/class-wp-users-list-table.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunkwpadminincludesplugininstallphp">trunk/wp-admin/includes/plugin-install.php</a></li>
<li><a href="#trunkwpadminincludespostphp">trunk/wp-admin/includes/post.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminjspostjs">trunk/wp-admin/js/post.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsscolorsclassiccss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/colors-classic.css (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/colors-classic.css        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/css/colors-classic.css        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -57,6 +57,7 @@
</span><span class="cx"> input[type="password"]:focus,
</span><span class="cx"> input[type="file"]:focus,
</span><span class="cx"> input[type="button"]:focus,
</span><ins>+input[type="submit"].focus,
</ins><span class="cx"> input[type="submit"]:focus,
</span><span class="cx"> input[type="reset"]:focus,
</span><span class="cx"> input[type="email"]:focus,
</span><span class="lines">@@ -377,81 +378,147 @@
</span><span class="cx">         color: #666;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+a.button:active {
+        outline: none;
+}
+
</ins><span class="cx"> .button,
</span><span class="cx"> .button-secondary,
</span><span class="cx"> .submit input,
</span><span class="cx"> input[type=button],
</span><span class="cx"> input[type=submit] {
</span><del>-        border-color: #bbb;
-        color: #464646;
</del><ins>+        background: #ececec;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
+        background-image: -webkit-linear-gradient(top, #fff, #eee);
+        background-image: -moz-linear-gradient(top, #fff, #eee);
+        background-image: -o-linear-gradient(top, #fff, #eee);
+        background-image: linear-gradient(to bottom, #fff, #eee);
+        border-color: #ccc;
+        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
+         box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
+         color: #464646;
+        text-shadow: 1px 1px 0 #fff;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.button.hover,
</ins><span class="cx"> .button:hover,
</span><ins>+.button-secondary.hover,
</ins><span class="cx"> .button-secondary:hover,
</span><span class="cx"> .submit input:hover,
</span><span class="cx"> input[type=button]:hover,
</span><del>-input[type=submit]:hover {
</del><ins>+input[type=submit]:hover,
+.button.focus,
+.button:focus,
+.button-secondary.focus,
+.button-secondary:focus,
+.submit input.focus,
+.submit input:focus,
+input[type=button]:focus,
+input[type=submit].focus,
+input[type=submit]:focus {
+        background: #ececec;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
+        background-image: -webkit-linear-gradient(top, #fff, #eee);
+        background-image: -moz-linear-gradient(top, #fff, #eee);
+        background-image: -o-linear-gradient(top, #fff, #eee);
+        background-image: linear-gradient(to bottom, #fff, #eee);
+        border-color: #bbb;
+        -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
+        box-shadow: 0px 1px 1px rgba(0,0,0,.1);
</ins><span class="cx">         color: #000;
</span><del>-        border-color: #666;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-.button,
-.submit input,
-.button-secondary {
-        text-shadow: 0 1px 0 #fff;
-        background: #f2f2f2;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff));
-        background-image: -webkit-linear-gradient(bottom, #ededed, #fff);
-        background-image: -moz-linear-gradient(bottom, #ededed, #fff);
-        background-image: -o-linear-gradient(bottom, #ededed, #fff);
-        background-image: linear-gradient(to top, #ededed, #fff);
-}
-
</del><ins>+.button.active,
</ins><span class="cx"> .button:active,
</span><ins>+.button-secondary.active,
+.button-secondary:active,
</ins><span class="cx"> .submit input:active,
</span><del>-.button-secondary:active {
</del><ins>+input[type=button]:active,
+input[type=submit].active,
+input[type=submit]:active {
</ins><span class="cx">         background: #eee;
</span><del>-        background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
-        background-image: -webkit-linear-gradient(top, #ededed, #fff);
-        background-image: -moz-linear-gradient(top, #ededed, #fff);
-        background-image: -o-linear-gradient(top, #ededed, #fff);
-        background-image: linear-gradient(to bottom, #ededed, #fff);
</del><ins>+        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9));
+        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9);
+        background-image: -moz-linear-gradient(top, #eee, #f9f9f9);
+        background-image: -o-linear-gradient(top, #eee, #f9f9f9);
+        background-image: linear-gradient(to bottom, #eee, #f9f9f9);
+        border-color: #999 #ddd #ddd #999;
+        color: #555;
+        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
+         box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.button.focus,
+.button:focus,
+.button-secondary.focus,
+.button-secondary:focus,
+.submit input.focus,
+.submit input:focus,
+input[type=button].focus,
+input[type=submit]:focus {
+        border-color: #aaa;
+}
+
</ins><span class="cx"> input.button-primary,
</span><span class="cx"> button.button-primary,
</span><span class="cx"> a.button-primary {
</span><del>-        border-color: #298cba;
-        font-weight: bold;
</del><ins>+        background-color: #21759b;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
+        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
+        background-image: -moz-linear-gradient(top, #2a95c5, #21759b);
+        background-image: -o-linear-gradient(top, #2a95c5, #21759b);
+        background-image: linear-gradient(to bottom, #2a95c5, #21759b);
+        border-color: #21759b;
+        border-bottom-color: #1e6a8d;
+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+         box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+         color: #fff;
+        text-decoration: none;
+        text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
+}
+
+input.button-primary.hover,
+input.button-primary:hover,
+button.button-primary:hover,
+a.button-primary:hover,
+input.button-primary.focus,
+input.button-primary:focus,
+button.button-primary:focus,
+a.button-primary:focus {
+        background-color: #278ab7;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
+        background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: -moz-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
+        border-color: #1b607f;
+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4);
+         box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4);
</ins><span class="cx">         color: #fff;
</span><del>-        text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
-        background: #21759b;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba));
-        background-image: -webkit-linear-gradient(bottom, #227199, #298cba);
-        background-image: -moz-linear-gradient(bottom, #227199, #298cba);
-        background-image: -o-linear-gradient(bottom, #227199, #298cba);
-        background-image: linear-gradient(to top, #227199, #298cba);
</del><ins>+        text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+input.button-primary.active,
</ins><span class="cx"> input.button-primary:active,
</span><span class="cx"> button.button-primary:active,
</span><span class="cx"> a.button-primary:active {
</span><del>-        color: #eaf2fa;
-        background: #298cba;
-        background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba));
-        background-image: -webkit-linear-gradient(top, #227199, #298cba);
-        background-image: -moz-linear-gradient(top, #227199, #298cba);
-        background-image: -o-linear-gradient(top, #227199, #298cba);
-        background-image: linear-gradient(to bottom, #227199, #298cba);
</del><ins>+        background: #1b607f;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7));
+        background-image: -webkit-linear-gradient(top, #21759b, #278ab7);
+        background-image: -moz-linear-gradient(top, #21759b, #278ab7);
+        background-image: -o-linear-gradient(top, #21759b, #278ab7);
+        background-image: linear-gradient(to bottom, #21759b, #278ab7);
+        border-color: #124560 #2382ae #2382ae #124560;
+        color: rgba(255,255,255,0.95);
+        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
+         box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-input.button-primary:hover,
-button.button-primary:hover,
-a.button-primary:hover,
-a.button-primary:focus,
-a.button-primary:active {
-        border-color: #13455b;
-        color: #eaf2fa;
</del><ins>+input.button-primary.focus,
+input.button-primary:focus,
+button.button-primary:focus,
+a.button-primary:focus {
+        border-color: #124560;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .button-disabled,
</span><span class="lines">@@ -462,13 +529,17 @@
</span><span class="cx"> a.button.disabled {
</span><span class="cx">         color: #aaa !important;
</span><span class="cx">         border-color: #ddd !important;
</span><ins>+        -webkit-box-shadow: none !important;
+        box-shadow: none !important;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .button-primary-disabled,
</span><span class="cx"> .button-primary[disabled],
</span><span class="cx"> .button-primary:disabled {
</span><del>-        color: #9fd0d5 !important;
</del><ins>+        color: #94cde7 !important;
</ins><span class="cx">         background: #298cba !important;
</span><ins>+        -webkit-box-shadow: none !important;
+        box-shadow: none !important;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> a:hover,
</span><span class="lines">@@ -947,6 +1018,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* Containers */
</span><ins>+.wp-editor-wrap .wp-editor-container,
</ins><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceLayout {
</span><span class="cx">         border-color: #bed1dd #bed1dd #d0dfe9;
</span><span class="cx"> }
</span><span class="lines">@@ -967,12 +1039,9 @@
</span><span class="cx">         background-color: #f5f5f5;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/* Button */
-.wp-editor-wrap .wp_themeSkin .mceButton,
-.wp-editor-wrap .wp_themeSkin .mceListBox .mceText,
-.wp-editor-wrap .wp_themeSkin .mceListBox .mceOpen {
-        border-color: #b0c8d7;
-        background: #cfdfe9;
</del><ins>+.wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover {
+        border-color: #bbb;
+        background: #eee;
</ins><span class="cx">         background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff));
</span><span class="cx">         background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff);
</span><span class="cx">         background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff);
</span><span class="lines">@@ -980,24 +1049,14 @@
</span><span class="cx">         background-image: linear-gradient(to top, #cfdfe9, #fff);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover {
-        border-color: #5589aa;
-        background: #c9c9c9;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#000));
-        background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff);
-        background-image: -moz-linear-gradient(bottom, #bdccd5, #fff);
-        background-image: -o-linear-gradient(bottom, #bdccd5, #fff);
-        background-image: linear-gradient(to top, #bdccd5, #fff);
-}
-
</del><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButton:active,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:active,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButtonSelected:active,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButtonActive,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButtonActive:active,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin a.mceButtonActive:hover {
</span><del>-        background: #b0c8d7;
-        border-color: #5589aa;
</del><ins>+        background: #c7d8e2;
+        border-color: #b0c8d7;
</ins><span class="cx">         background-image: -webkit-gradient(linear, left top, left bottom, from(#cfdfe9), to(#fff));
</span><span class="cx">         background-image: -webkit-linear-gradient(top, #cfdfe9, #fff);
</span><span class="cx">         background-image: -moz-linear-gradient(top, #cfdfe9, #fff);
</span><span class="lines">@@ -1005,10 +1064,6 @@
</span><span class="cx">         background-image: linear-gradient(to bottom, #cfdfe9, #fff);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.wp-editor-wrap .wp_themeSkin .mceButtonDisabled {
-        border-color: #b0c8d7 !important;
-}
-
</del><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceListBox .mceOpen {
</span><span class="cx">         border-left: 0 !important;
</span><span class="cx"> }
</span><span class="lines">@@ -1019,16 +1074,21 @@
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceListBoxSelected .mceOpen,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceListBoxSelected .mceText,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:active .mceText {
</span><del>-        background: #b0c8d7;
-        border-color: #5589aa;
</del><ins>+        border-color: #B0C8D7;
+        background: #c9c9c9;
+        background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5));
+        background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -moz-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -o-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: linear-gradient(to top, #fff, #bdccd5);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:hover .mceText,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceListBoxHover .mceText,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceListBoxHover .mceOpen {
</span><del>-        border-color: #5589aa;
-        background: #c9c9c9;
</del><ins>+        border-color: #B0C8D7;
+        background: #c7d8e2;
</ins><span class="cx">         background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff));
</span><span class="cx">         background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff);
</span><span class="cx">         background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff);
</span><span class="lines">@@ -1036,41 +1096,58 @@
</span><span class="cx">         background-image: linear-gradient(to top, #cfdfe9, #fff);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-/* SplitButton */
-.wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction,
-.wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen {
-        border-color: #b0c8d7;
-}
-
-.wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen:hover,
</del><ins>+.wp-editor-wrap .wp_themeSkin .mceSplitButton:hover a.mceOpen,
</ins><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceOpen,
</span><ins>+.wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceAction,
</ins><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction:hover {
</span><del>-        border-color: #5589aa;
</del><ins>+        border-color: #B0C8D7;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-.wp-editor-wrap .wp_themeSkin table.mceSplitButton td {
-        background: #cfdfe9;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff));
-        background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff);
-        background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff);
-        background-image: -o-linear-gradient(bottom, #cfdfe9, #fff);
-        background-image: linear-gradient(to top, #cfdfe9, #fff);
</del><ins>+.wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected td {
+        background: #c9c9c9;
+        background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5));
+        background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -moz-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -o-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: linear-gradient(to top, #fff, #bdccd5);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin table.mceSplitButton:hover td {
</span><ins>+        border-color: #bbb;
</ins><span class="cx">         background: #c9c9c9;
</span><del>-        background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#000));
</del><ins>+        background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#fff));
</ins><span class="cx">         background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff);
</span><span class="cx">         background-image: -moz-linear-gradient(bottom, #bdccd5, #fff);
</span><span class="cx">         background-image: -o-linear-gradient(bottom, #bdccd5, #fff);
</span><span class="cx">         background-image: linear-gradient(to top, #bdccd5, #fff);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-.wp-editor-wrap .wp_themeSkin .mceSplitButtonActive {
-        background-color: #b0c8d7;
</del><ins>+.wp-editor-wrap .wp_themeSkin table.mceSplitButton:active td.mceFirst,
+.wp-editor-wrap .wp_themeSkin table.mceSplitButton td.mceLast:active {
+        border-color: #bbb;
+        background: #c9c9c9;
+        background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5));
+        background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -moz-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -o-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: linear-gradient(to top, #fff, #bdccd5);
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceAction,
+.wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceOpen {
+        border-color: #B0C8D7;
+}
+
+.wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td {
+        background: #c9c9c9;
+        background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5));
+        background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -moz-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: -o-linear-gradient(bottom, #fff, #bdccd5);
+        background-image: linear-gradient(to top, #fff, #bdccd5);
+}
+
</ins><span class="cx"> /* ColorSplitButton */
</span><span class="cx"> .wp-editor-wrap .wp_themeSkin div.mceColorSplitMenu table {
</span><span class="cx">         background-color: #ebebeb;
</span></span></pre></div>
<a id="trunkwpadmincsscolorsfreshcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/colors-fresh.css (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/colors-fresh.css        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/css/colors-fresh.css        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -52,6 +52,7 @@
</span><span class="cx"> input[type="password"]:focus,
</span><span class="cx"> input[type="file"]:focus,
</span><span class="cx"> input[type="button"]:focus,
</span><ins>+input[type="submit"].focus,
</ins><span class="cx"> input[type="submit"]:focus,
</span><span class="cx"> input[type="reset"]:focus,
</span><span class="cx"> input[type="email"]:focus,
</span><span class="lines">@@ -368,81 +369,150 @@
</span><span class="cx">         color: #666;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+a.button:active {
+        outline: none;
+}
+
</ins><span class="cx"> .button,
</span><span class="cx"> .button-secondary,
</span><span class="cx"> .submit input,
</span><span class="cx"> input[type=button],
</span><span class="cx"> input[type=submit] {
</span><del>-        border-color: #bbb;
-        color: #464646;
</del><ins>+        background: #ececec;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
+        background-image: -webkit-linear-gradient(top, #fff, #eee);
+        background-image: -moz-linear-gradient(top, #fff, #eee);
+        background-image: -o-linear-gradient(top, #fff, #eee);
+        background-image: linear-gradient(to bottom, #fff, #eee);
+        border-color: #ccc;
+        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
+         box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
+         color: #464646;
+        text-shadow: 1px 1px 0 #fff;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.button.hover,
</ins><span class="cx"> .button:hover,
</span><ins>+.button-secondary.hover,
</ins><span class="cx"> .button-secondary:hover,
</span><span class="cx"> .submit input:hover,
</span><span class="cx"> input[type=button]:hover,
</span><del>-input[type=submit]:hover {
</del><ins>+input[type=submit]:hover,
+.button.focus,
+.button:focus,
+.button-secondary.focus,
+.button-secondary:focus,
+.submit input.focus,
+.submit input:focus,
+input[type=button].focus,
+input[type=button]:focus,
+input[type=submit]:focus {
+        background: #ececec;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
+        background-image: -webkit-linear-gradient(top, #fff, #eee);
+        background-image: -moz-linear-gradient(top, #fff, #eee);
+        background-image: -o-linear-gradient(top, #fff, #eee);
+        background-image: linear-gradient(to bottom, #fff, #eee);
+        border-color: #bbb;
+        -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
+        box-shadow: 0px 1px 1px rgba(0,0,0,.1);
</ins><span class="cx">         color: #000;
</span><del>-        border-color: #666;
</del><span class="cx"> }
</span><span class="cx">
</span><del>-.button,
-.submit input,
-.button-secondary {
-        text-shadow: 0 1px 0 #fff;
-        background: #f2f2f2;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff));
-        background-image: -webkit-linear-gradient(bottom, #ededed, #fff);
-        background-image: -moz-linear-gradient(bottom, #ededed, #fff);
-        background-image: -o-linear-gradient(bottom, #ededed, #fff);
-        background-image: linear-gradient(to top, #ededed, #fff);
-}
-
</del><ins>+.button.active,
</ins><span class="cx"> .button:active,
</span><ins>+.small.active,
+.small:active,
+.button-secondary.active,
+.button-secondary:active,
</ins><span class="cx"> .submit input:active,
</span><del>-.button-secondary:active {
</del><ins>+input[type=button].active,
+input[type=button]:active,
+input[type=submit]:active {
</ins><span class="cx">         background: #eee;
</span><del>-        background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
-        background-image: -webkit-linear-gradient(top, #ededed, #fff);
-        background-image: -moz-linear-gradient(top, #ededed, #fff);
-        background-image: -o-linear-gradient(top, #ededed, #fff);
-        background-image: linear-gradient(to bottom, #ededed, #fff);
</del><ins>+        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9));
+        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9);
+        background-image: -moz-linear-gradient(top, #eee, #f9f9f9);
+        background-image: -o-linear-gradient(top, #eee, #f9f9f9);
+        background-image: linear-gradient(to bottom, #eee, #f9f9f9);
+        border-color: #999 #ddd #ddd #999;
+        color: #555;
+        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
+         box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.button.focus,
+.button:focus,
+.button-secondary.focus,
+.button-secondary:focus,
+.submit input.focus,
+.submit input:focus,
+input[type=button].focus,
+input[type=button]:focus,
+input[type=submit]:focus {
+        border-color: #aaa;
+}
+
</ins><span class="cx"> input.button-primary,
</span><span class="cx"> button.button-primary,
</span><span class="cx"> a.button-primary {
</span><del>-        border-color: #298cba;
-        font-weight: bold;
</del><ins>+        background-color: #21759b;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
+        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
+        background-image: -moz-linear-gradient(top, #2a95c5, #21759b);
+        background-image: -o-linear-gradient(top, #2a95c5, #21759b);
+        background-image: linear-gradient(to bottom, #2a95c5, #21759b);
+        border-color: #21759b;
+        border-bottom-color: #1e6a8d;
+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+         box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+         color: #fff;
+        text-decoration: none;
+        text-shadow: -1px -1px 0 rgba(0,0,0,0.1);
+}
+
+input.button-primary.hover,
+input.button-primary:hover,
+button.button-primary:hover,
+a.button-primary:hover,
+input.button-primary.focus,
+input.button-primary:focus,
+button.button-primary:focus,
+a.button-primary:focus {
+        background-color: #278ab7;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
+        background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: -moz-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
+        background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
+        border-color: #1b607f;
+        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
+         box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
</ins><span class="cx">         color: #fff;
</span><del>-        text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
-        background: #21759b;
-        background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba));
-        background-image: -webkit-linear-gradient(bottom, #227199, #298cba);
-        background-image: -moz-linear-gradient(bottom, #227199, #298cba);
-        background-image: -o-linear-gradient(bottom, #227199, #298cba);
-        background-image: linear-gradient(to top, #227199, #298cba);
</del><ins>+        text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+input.button-primary.active,
</ins><span class="cx"> input.button-primary:active,
</span><span class="cx"> button.button-primary:active,
</span><span class="cx"> a.button-primary:active {
</span><del>-        color: #eaf2fa;
-        background: #298cba;
-        background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba));
-        background-image: -webkit-linear-gradient(top, #227199, #298cba);
-        background-image: -moz-linear-gradient(top, #227199, #298cba);
-        background-image: -o-linear-gradient(top, #227199, #298cba);
-        background-image: linear-gradient(to bottom, #227199, #298cba);
</del><ins>+        background: #1b607f;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7));
+        background-image: -webkit-linear-gradient(top, #21759b, #278ab7);
+        background-image: -moz-linear-gradient(top, #21759b, #278ab7);
+        background-image: -o-linear-gradient(top, #21759b, #278ab7);
+        background-image: linear-gradient(to bottom, #21759b, #278ab7);
+        border-color: #124560 #2382ae #2382ae #124560;
+        color: rgba(255,255,255,0.95);
+        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
+         box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-input.button-primary:hover,
-button.button-primary:hover,
-a.button-primary:hover,
-a.button-primary:focus,
-a.button-primary:active {
-        border-color: #13455b;
-        color: #eaf2fa;
</del><ins>+input.button-primary.focus,
+input.button-primary:focus,
+button.button-primary:focus,
+a.button-primary:focus {
+        border-color: #124560;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .button-disabled,
</span><span class="lines">@@ -453,13 +523,17 @@
</span><span class="cx"> a.button.disabled {
</span><span class="cx">         color: #aaa !important;
</span><span class="cx">         border-color: #ddd !important;
</span><ins>+        -webkit-box-shadow: none !important;
+        box-shadow: none !important;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> .button-primary-disabled,
</span><span class="cx"> .button-primary[disabled],
</span><span class="cx"> .button-primary:disabled {
</span><del>-        color: #9fd0d5 !important;
</del><ins>+        color: #94cde7 !important;
</ins><span class="cx">         background: #298cba !important;
</span><ins>+        -webkit-box-shadow: none !important;
+        box-shadow: none !important;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> a:hover,
</span></span></pre></div>
<a id="trunkwpadmincssiecss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/ie.css (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/ie.css        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/css/ie.css        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -124,8 +124,7 @@
</span><span class="cx">
</span><span class="cx"> #wpbody-content input.button,
</span><span class="cx"> #wpbody-content input.button-primary,
</span><del>-#wpbody-content input.button-secondary,
-#wpbody-content input.button-highlighted {
</del><ins>+#wpbody-content input.button-secondary {
</ins><span class="cx">         overflow: visible;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincsswpadminrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin-rtl.css (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin-rtl.css        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/css/wp-admin-rtl.css        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -2303,7 +2303,6 @@
</span><span class="cx"> .button,
</span><span class="cx"> .button-primary,
</span><span class="cx"> .button-secondary,
</span><del>-.button-highlighted,
</del><span class="cx"> #postcustomstuff .submit input {
</span><span class="cx">         font-family: Tahoma, Arial, sans-serif;
</span><span class="cx"> }
</span><span class="lines">@@ -2473,7 +2472,6 @@
</span><span class="cx"> .locale-he-il .button,
</span><span class="cx"> .locale-he-il .button-primary,
</span><span class="cx"> .locale-he-il .button-secondary,
</span><del>-.locale-he-il .button-highlighted,
</del><span class="cx"> .locale-he-il #postcustomstuff .submit input,
</span><span class="cx"> .locale-he-il div.sidebar-name h3 {
</span><span class="cx">         font-family: Arial, sans-serif;
</span></span></pre></div>
<a id="trunkwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.css (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.css        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/css/wp-admin.css        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -779,28 +779,41 @@
</span><span class="cx"> .button-primary,
</span><span class="cx"> input.button-primary,
</span><span class="cx"> .button-secondary,
</span><del>-input.button-secondary,
-.button-highlighted,
-input.button-highlighted,
-#postcustomstuff .submit input {
</del><ins>+input.button-secondary {
+        display: inline-block;
</ins><span class="cx">         text-decoration: none;
</span><del>-        font-size: 12px !important;
-        line-height: 13px;
-        padding: 3px 8px;
</del><ins>+        font-size: 12px;
+        line-height: 15px;
+        margin: 0;
+        padding: 0.5em 0.8em 0.4em;
</ins><span class="cx">         cursor: pointer;
</span><span class="cx">         border-width: 1px;
</span><span class="cx">         border-style: solid;
</span><del>-        -webkit-border-radius: 11px;
-        border-radius: 11px;
-        -moz-box-sizing: content-box;
</del><ins>+        -webkit-border-radius: 3px;
+        border-radius: 3px;
</ins><span class="cx">         -webkit-box-sizing: content-box;
</span><del>-        box-sizing: content-box;
</del><ins>+        -moz-box-sizing: content-box;
+        box-sizing: content-box;
+        white-space: nowrap;
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+.button.button-small {
+        padding: 3px .8em 2px;
+}
+
+.button.button-large {
+ font-size: 14px;
+ padding: 0.6em 1em 0.5em;
+}
+
+.button.button-tiny {
+        padding: .2em .8em;
+        font-size: 11px;
+}
+
</ins><span class="cx"> #minor-publishing-actions input,
</span><span class="cx"> #major-publishing-actions input,
</span><span class="cx"> #minor-publishing-actions .preview {
</span><del>-        min-width: 80px;
</del><span class="cx">         text-align: center;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1015,15 +1028,6 @@
</span><span class="cx">         list-style: square;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-a.button,
-a.button-primary,
-a.button-secondary {
-        line-height: 15px;
-        padding: 3px 10px;
-        white-space: nowrap;
-        -webkit-border-radius: 10px;
-}
-
</del><span class="cx"> .approve,
</span><span class="cx"> .unapproved .unapprove {
</span><span class="cx">         display: none;
</span><span class="lines">@@ -2804,7 +2808,7 @@
</span><span class="cx">
</span><span class="cx"> #titlediv {
</span><span class="cx">         position: relative;
</span><del>-        margin-bottom: 20px;
</del><ins>+        margin-bottom: 10px;
</ins><span class="cx"> }
</span><span class="cx"> #titlediv label { cursor: text; }
</span><span class="cx">
</span><span class="lines">@@ -2857,11 +2861,15 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #edit-slug-box {
</span><del>-        height: 1em;
</del><span class="cx">         margin-top: 8px;
</span><span class="cx">         padding: 0 10px;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+#edit-slug-box .cancel {
+        margin-right: 10px;
+        font-size: 11px;
+}
+
</ins><span class="cx"> #editable-post-name-full {
</span><span class="cx">         display: none;
</span><span class="cx"> }
</span><span class="lines">@@ -3159,7 +3167,7 @@
</span><span class="cx"> #postcustom #postcustomstuff .submit {
</span><span class="cx">         border: 0 none;
</span><span class="cx">         float: none;
</span><del>-        padding: 5px 8px;
</del><ins>+        padding: 0 0 8px 8px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #side-sortables #postcustom #postcustomstuff .submit {
</span><span class="lines">@@ -3195,10 +3203,6 @@
</span><span class="cx">         width: 38%;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#postcustomstuff #newmeta .submit {
-        padding: 0 8px;
-}
-
</del><span class="cx"> #postcustomstuff .submit input,
</span><span class="cx"> #postcustomstuff table #newmeta-submit {
</span><span class="cx">         width: auto;
</span><span class="lines">@@ -4243,7 +4247,7 @@
</span><span class="cx">
</span><span class="cx"> #replysubmit {
</span><span class="cx">         margin: 0;
</span><del>-        padding: 0 7px 3px;
</del><ins>+        padding: 0 5px 3px;
</ins><span class="cx">         text-align: center;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -4672,8 +4676,6 @@
</span><span class="cx"> .plugins .name,
</span><span class="cx"> #pass-strength-result.strong,
</span><span class="cx"> #pass-strength-result.short,
</span><del>-.button-highlighted,
-input.button-highlighted,
</del><span class="cx"> #ed_reply_toolbar #ed_reply_strong,
</span><span class="cx"> .item-controls .item-order a,
</span><span class="cx"> .feature-filter .feature-name {
</span><span class="lines">@@ -5631,7 +5633,6 @@
</span><span class="cx">         padding: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#titlediv,
</del><span class="cx"> #poststuff .postarea {
</span><span class="cx">         margin-bottom: 20px;
</span><span class="cx"> }
</span><span class="lines">@@ -6084,7 +6085,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard-widgets #dashboard_quick_press form p.submit #save-post {
</span><del>-        margin: 0 1em 0 10px;
</del><ins>+        margin: 0 0.3em 0 5px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #dashboard-widgets #dashboard_quick_press form p.submit #publish {
</span><span class="lines">@@ -6278,8 +6279,7 @@
</span><span class="cx">
</span><span class="cx"> .login .button-primary {
</span><span class="cx">         font-size: 13px !important;
</span><del>-        line-height: 16px;
-        padding: 3px 10px;
</del><ins>+        padding: .4em .8em;
</ins><span class="cx">         float: right;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmineditformadvancedphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-form-advanced.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-form-advanced.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/edit-form-advanced.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -294,7 +294,7 @@
</span><span class="cx"> $sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : '';
</span><span class="cx"> $shortlink = wp_get_shortlink($post->ID, 'post');
</span><span class="cx"> if ( !empty($shortlink) )
</span><del>- $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';
</del><ins>+ $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-tiny" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';
</ins><span class="cx">
</span><span class="cx"> if ( $post_type_object->public && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?>
</span><span class="cx">         <div id="edit-slug-box">
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpcommentslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-comments-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-comments-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-comments-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -224,13 +224,13 @@
</span><span class="cx">                         ?>
</span><span class="cx">                         </select>
</span><span class="cx"> <?php
</span><del>-                        submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
</del><ins>+                        submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
</ins><span class="cx">                 }
</span><span class="cx">
</span><span class="cx">                 if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) {
</span><span class="cx">                         wp_nonce_field( 'bulk-destroy', '_destroy_nonce' );
</span><span class="cx">                         $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' );
</span><del>-                        submit_button( $title, 'button-secondary apply', 'delete_all', false );
</del><ins>+                        submit_button( $title, 'small apply', 'delete_all', false );
</ins><span class="cx">                 }
</span><span class="cx">                 do_action( 'manage_comments_nav', $comment_status );
</span><span class="cx">                 echo '</div>';
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplinkslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-links-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-links-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-links-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx">                                 'orderby' => 'name',
</span><span class="cx">                         );
</span><span class="cx">                         wp_dropdown_categories( $dropdown_options );
</span><del>-                        submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
</del><ins>+                        submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
</ins><span class="cx"> ?>
</span><span class="cx">                 </div>
</span><span class="cx"> <?php
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -217,7 +217,7 @@
</span><span class="cx"> <p class="search-box">
</span><span class="cx">         <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>
</span><span class="cx">         <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
</span><del>-        <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>
</del><ins>+        <?php submit_button( $text, 'small', false, false, array('id' => 'search-submit') ); ?>
</ins><span class="cx"> </p>
</span><span class="cx"> <?php
</span><span class="cx">         }
</span><span class="lines">@@ -304,7 +304,7 @@
</span><span class="cx">
</span><span class="cx">                 echo "</select>\n";
</span><span class="cx">
</span><del>-                submit_button( __( 'Apply' ), 'button-secondary action', false, false, array( 'id' => "doaction$two" ) );
</del><ins>+                submit_button( __( 'Apply' ), 'small action', false, false, array( 'id' => "doaction$two" ) );
</ins><span class="cx">                 echo "\n";
</span><span class="cx">         }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmedialisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-media-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-media-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-media-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -91,13 +91,13 @@
</span><span class="cx">                         $this->months_dropdown( 'attachment' );
</span><span class="cx">
</span><span class="cx">                         do_action( 'restrict_manage_posts' );
</span><del>-                        submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
</del><ins>+                        submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
</ins><span class="cx">                 }
</span><span class="cx">
</span><span class="cx">                 if ( $this->detached ) {
</span><span class="cx">                         submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false );
</span><span class="cx">                 } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) {
</span><del>-                        submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false );
</del><ins>+                        submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false );
</ins><span class="cx">                 } ?>
</span><span class="cx">                 </div>
</span><span class="cx"> <?php
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppluginslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-plugins-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-plugins-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-plugins-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -274,7 +274,7 @@
</span><span class="cx">                 $screen = get_current_screen();
</span><span class="cx">
</span><span class="cx">                 if ( ! $screen->is_network && 'recently_activated' == $status )
</span><del>-                        submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false );
</del><ins>+                        submit_button( __( 'Clear List' ), 'small', 'clear-recent-list', false );
</ins><span class="cx">                 elseif ( 'top' == $which && 'mustuse' == $status )
</span><span class="cx">                         echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>';
</span><span class="cx">                 elseif ( 'top' == $which && 'dropins' == $status )
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-posts-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-posts-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-posts-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -218,11 +218,11 @@
</span><span class="cx">                                 wp_dropdown_categories( $dropdown_options );
</span><span class="cx">                         }
</span><span class="cx">                         do_action( 'restrict_manage_posts' );
</span><del>-                        submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
</del><ins>+                        submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) );
</ins><span class="cx">                 }
</span><span class="cx">
</span><span class="cx">                 if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) {
</span><del>-                        submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false );
</del><ins>+                        submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false );
</ins><span class="cx">                 }
</span><span class="cx"> ?>
</span><span class="cx">                 </div>
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpuserslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-users-list-table.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-users-list-table.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/class-wp-users-list-table.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx">                         <option value=''><?php _e( 'Change role to&hellip;' ) ?></option>
</span><span class="cx">                         <?php wp_dropdown_roles(); ?>
</span><span class="cx">                 </select>
</span><del>-                <?php submit_button( __( 'Change' ), 'secondary', 'changeit', false ); ?>
</del><ins>+                <?php submit_button( __( 'Change' ), 'small', 'changeit', false ); ?>
</ins><span class="cx">         </div>
</span><span class="cx"> <?php
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/dashboard.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -439,14 +439,14 @@
</span><span class="cx">         <form action="<?php echo network_admin_url('users.php'); ?>" method="get">
</span><span class="cx">                 <p>
</span><span class="cx">                         <input type="search" name="s" value="" size="30" autocomplete="off" />
</span><del>-                        <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
</del><ins>+                        <?php submit_button( __( 'Search Users' ), 'small', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
</ins><span class="cx">                 </p>
</span><span class="cx">         </form>
</span><span class="cx">
</span><span class="cx">         <form action="<?php echo network_admin_url('sites.php'); ?>" method="get">
</span><span class="cx">                 <p>
</span><span class="cx">                         <input type="search" name="s" value="" size="30" autocomplete="off" />
</span><del>-                        <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
</del><ins>+                        <?php submit_button( __( 'Search Sites' ), 'small', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
</ins><span class="cx">                 </p>
</span><span class="cx">         </form>
</span><span class="cx"> <?php
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/meta-boxes.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -28,9 +28,9 @@
</span><span class="cx"> <div id="minor-publishing-actions">
</span><span class="cx"> <div id="save-action">
</span><span class="cx"> <?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?>
</span><del>-<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button button-highlighted" />
</del><ins>+<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button" />
</ins><span class="cx"> <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
</span><del>-<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button button-highlighted" />
</del><ins>+<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button" />
</ins><span class="cx"> <?php } ?>
</span><span class="cx"> <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" />
</span><span class="cx"> </div>
</span><span class="lines">@@ -286,7 +286,7 @@
</span><span class="cx">                 <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
</span><span class="cx">                 <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div>
</span><span class="cx">                 <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
</span><del>-                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
</del><ins>+                <input type="button" class="button button-tiny tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
</ins><span class="cx">         </div>
</span><span class="cx">         <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p>
</span><span class="cx">         <?php endif; ?>
</span></span></pre></div>
<a id="trunkwpadminincludesplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/plugin-install.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/plugin-install.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/plugin-install.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -130,7 +130,7 @@
</span><span class="cx">                 <?php endif; ?>
</span><span class="cx">                 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
</span><span class="cx">                 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
</span><del>-                <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
</del><ins>+                <?php submit_button( __( 'Search Plugins' ), 'small', 'plugin-search-input', false ); ?>
</ins><span class="cx">         </form><?php
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminincludespostphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/post.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/post.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/post.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -1084,9 +1084,9 @@
</span><span class="cx">         if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) {
</span><span class="cx">                 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n";
</span><span class="cx">                 if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) )
</span><del>-                        $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button" target="_blank">' . __('Change Permalinks') . "</a></span>\n";
</del><ins>+                        $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-tiny" target="_blank">' . __('Change Permalinks') . "</a></span>\n";
</ins><span class="cx">                 if ( isset($view_post) )
</span><del>-                        $return .= "<span id='view-post-btn'><a href='$permalink' class='button'>$view_post</a></span>\n";
</del><ins>+                        $return .= "<span id='view-post-btn'><a href='$permalink' class='button button-tiny'>$view_post</a></span>\n";
</ins><span class="cx">
</span><span class="cx">                 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
</span><span class="cx">
</span><span class="lines">@@ -1113,10 +1113,10 @@
</span><span class="cx">         $return = '<strong>' . __('Permalink:') . "</strong>\n";
</span><span class="cx">         $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n";
</span><span class="cx">         $return .= '&lrm;'; // Fix bi-directional text display defect in RTL languages.
</span><del>-        $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";
</del><ins>+        $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button-tiny hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";
</ins><span class="cx">         $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n";
</span><span class="cx">         if ( isset($view_post) )
</span><del>-                $return .= "<span id='view-post-btn'><a href='$view_link' class='button'>$view_post</a></span>\n";
</del><ins>+                $return .= "<span id='view-post-btn'><a href='$view_link' class='button button-tiny'>$view_post</a></span>\n";
</ins><span class="cx">
</span><span class="cx">         $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/includes/template.php        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -554,7 +554,7 @@
</span><span class="cx"> </tr>
</span><span class="cx">
</span><span class="cx"> <tr><td colspan="2" class="submit">
</span><del>-<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>
</del><ins>+<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>
</ins><span class="cx"> <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
</span><span class="cx"> </td></tr>
</span><span class="cx"> </tbody>
</span><span class="lines">@@ -1115,10 +1115,10 @@
</span><span class="cx">         foreach ( (array) $wp_settings_sections[$page] as $section ) {
</span><span class="cx">                 if ( $section['title'] )
</span><span class="cx">                         echo "<h3>{$section['title']}</h3>\n";
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( $section['callback'] )
</span><span class="cx">                         call_user_func( $section['callback'], $section );
</span><del>-                
</del><ins>+
</ins><span class="cx">                 if ( ! isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) )
</span><span class="cx">                         continue;
</span><span class="cx">                 echo '<table class="form-table">';
</span><span class="lines">@@ -1637,19 +1637,23 @@
</span><span class="cx"> * string such as 'tabindex="1"', though the array format is typically cleaner.
</span><span class="cx"> */
</span><span class="cx"> function get_submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) {
</span><del>-        switch ( $type ) :
-                case 'primary' :
-                case 'secondary' :
-                        $class = 'button-' . $type;
-                        break;
-                case 'delete' :
-                        $class = 'button-secondary delete';
-                        break;
-                default :
-                        $class = $type; // Custom cases can just pass in the classes they want to be used
-        endswitch;
-        $text = ( null == $text ) ? __( 'Save Changes' ) : $text;
</del><ins>+        if ( ! is_array( $type ) )
+                $type = explode( ' ', $type );
</ins><span class="cx">
</span><ins>+        $button_shorthand = array( 'primary', 'tiny', 'small', 'large' );
+        $classes = array( 'button' );
+        foreach ( $type as $t ) {
+                if ( 'secondary' === $t || 'button-secondary' === $t )
+                        continue;
+                $classes[] = in_array( $t, $button_shorthand ) ? 'button-' . $t : $t;
+        }
+        $class = implode( ' ', array_unique( $classes ) );
+
+        if ( 'delete' === $type )
+                $class = 'button-secondary delete';
+
+        $text = $text ? $text : __( 'Save Changes' );
+
</ins><span class="cx">         // Default the id attribute to $name unless an id was specifically provided in $other_attributes
</span><span class="cx">         $id = $name;
</span><span class="cx">         if ( is_array( $other_attributes ) && isset( $other_attributes['id'] ) ) {
</span></span></pre></div>
<a id="trunkwpadminjspostjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/post.js (21788 => 21789)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/post.js        2012-09-08 03:18:36 UTC (rev 21788)
+++ trunk/wp-admin/js/post.js        2012-09-08 04:58:34 UTC (rev 21789)
</span><span class="lines">@@ -558,7 +558,7 @@
</span><span class="cx">                         var i, c = 0, e = $('#editable-post-name'), revert_e = e.html(), real_slug = $('#post_name'), revert_slug = real_slug.val(), b = $('#edit-slug-buttons'), revert_b = b.html(), full = $('#editable-post-name-full').html();
</span><span class="cx">
</span><span class="cx">                         $('#view-post-btn').hide();
</span><del>-                        b.html('<a href="#" class="save button">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>');
</del><ins>+                        b.html('<a href="#" class="save button button-tiny">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>');
</ins><span class="cx">                         b.children('.save').click(function() {
</span><span class="cx">                                 var new_slug = e.children('input').val();
</span><span class="cx">                                 if ( new_slug == $('#editable-post-name-full').text() ) {
</span></span></pre>
</div>
</div>
</body>
</html>