<!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>[27181] trunk/src: Rename the old media.css file, used for the pre-3.5 media library.</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/27181">27181</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2014-02-16 00:35:12 +0000 (Sun, 16 Feb 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Rename the old media.css file, used for the pre-3.5 media library. Clean up script-loader CSS registrations.
see <a href="http://core.trac.wordpress.org/ticket/26669">#26669</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesscriptloaderphp">trunk/src/wp-includes/script-loader.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincssdeprecatedmediacss">trunk/src/wp-admin/css/deprecated-media.css</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincssmediacss">trunk/src/wp-admin/css/media.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincssdeprecatedmediacssfromrev27174trunksrcwpadmincssmediacss"></a>
<div class="copfile"><h4>Copied: trunk/src/wp-admin/css/deprecated-media.css (from rev 27174, trunk/src/wp-admin/css/media.css) (0 => 27181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/deprecated-media.css (rev 0)
+++ trunk/src/wp-admin/css/deprecated-media.css 2014-02-16 00:35:12 UTC (rev 27181)
</span><span class="lines">@@ -0,0 +1,376 @@
</span><ins>+/* Styles for the media library iframe (not used on the Library screen) */
+
+div#media-upload-header {
+ margin: 0;
+ padding: 5px 5px 0;
+ font-weight: bold;
+ position: relative;
+ border-bottom: 1px solid #dfdfdf;
+ background: #f9f9f9;
+}
+
+body#media-upload ul#sidemenu {
+ font-weight: normal;
+ margin: 0 5px;
+ left: 0;
+ bottom: -1px;
+ float: none;
+ overflow: hidden;
+}
+
+#media-upload:after { /* clearfix */
+ content: "";
+ display: table;
+ clear: both;
+}
+
+#media-upload,
+#media-upload .media-item .slidetoggle {
+ background: #fff;
+}
+
+#media-upload .slidetoggle {
+ border-top-color: #dfdfdf;
+}
+
+#media-upload input[type="radio"] {
+ padding: 0;
+}
+
+form {
+ margin: 1em;
+}
+
+#search-filter {
+ text-align: right;
+}
+
+th {
+ position: relative;
+}
+
+.media-upload-form label.form-help, td.help {
+ font-family: sans-serif;
+ font-style: italic;
+ font-weight: normal;
+}
+
+.media-upload-form p.help {
+ margin: 0;
+ padding: 0;
+}
+
+.media-upload-form fieldset {
+ width: 100%;
+ border: none;
+ text-align: justify;
+ margin: 0 0 1em 0;
+ padding: 0;
+}
+
+/* specific to the image upload form */
+
+.image-align-none-label {
+ background: url(../images/align-none.png) no-repeat center left;
+}
+
+.image-align-left-label {
+ background: url(../images/align-left.png) no-repeat center left;
+}
+
+.image-align-center-label {
+ background: url(../images/align-center.png) no-repeat center left;
+}
+
+.image-align-right-label {
+ background: url(../images/align-right.png) no-repeat center left;
+}
+
+tr.image-size td {
+ width: 460px;
+}
+
+tr.image-size div.image-size-item {
+ margin: 0 0 5px;
+}
+
+#library-form .progress,
+#gallery-form .progress,
+.insert-gallery,
+.describe.startopen,
+.describe.startclosed {
+ display: none;
+}
+
+.media-item .thumbnail {
+ max-width: 128px;
+ max-height: 128px;
+}
+
+thead.media-item-info tr {
+ background-color: transparent;
+}
+
+.form-table thead.media-item-info {
+ border: 8px solid #fff;
+}
+
+abbr.required {
+ text-decoration: none;
+ border: none;
+}
+
+.describe label {
+ display: inline;
+}
+
+.describe td.error {
+ padding: 2px 8px;
+}
+
+.describe td.A1 {
+ width: 132px;
+}
+
+.describe input[type="text"],
+.describe textarea {
+ width: 460px;
+ border-width: 1px;
+ border-style: solid;
+}
+
+/* Specific to Uploader */
+
+#media-upload p.ml-submit {
+ padding: 1em 0;
+}
+
+#media-upload p.help,
+#media-upload label.help {
+ font-family: sans-serif;
+ font-style: italic;
+ font-weight: normal;
+}
+
+#media-upload .ui-sortable .media-item {
+ cursor: move;
+}
+
+#media-upload tr.image-size {
+ margin-bottom: 1em;
+ height: 3em;
+}
+
+#media-upload #filter {
+ width: 623px;
+}
+
+#media-upload #filter .subsubsub {
+ margin: 8px 0;
+}
+
+#filter .tablenav select {
+ border-style: solid;
+ border-width: 1px;
+ padding: 2px;
+ vertical-align: top;
+ width: auto;
+}
+
+#media-upload .del-attachment {
+ display: none;
+ margin: 5px 0;
+}
+
+.menu_order {
+ float: right;
+ font-size: 11px;
+ margin: 10px 10px 0;
+}
+
+.menu_order_input {
+ border: 1px solid #ddd;
+ font-size: 10px;
+ padding: 1px;
+ width: 23px;
+}
+
+.ui-sortable-helper {
+ background-color: #fff;
+ border: 1px solid #aaa;
+ opacity: 0.6;
+ filter: alpha(opacity=60);
+}
+
+#media-upload th.order-head {
+ width: 20%;
+ text-align: center;
+}
+
+#media-upload th.actions-head {
+ width: 25%;
+ text-align: center;
+}
+
+#media-upload a.wp-post-thumbnail {
+ margin: 0 20px;
+}
+
+#media-upload .widefat {
+ width: 626px;
+ border-style: solid solid none;
+}
+
+.sorthelper {
+ height: 37px;
+ width: 623px;
+ display: block;
+}
+
+#gallery-settings th.label {
+ width: 160px;
+}
+
+#gallery-settings #basic th.label {
+ padding: 5px 5px 5px 0;
+}
+
+#gallery-settings .title {
+ clear: both;
+ padding: 0 0 3px;
+ font-size: 1.6em;
+ border-bottom: 1px solid #DADADA;
+}
+
+h3.media-title {
+ font-size: 1.6em;
+}
+
+h4.media-sub-title {
+ border-bottom: 1px solid #DADADA;
+ font-size: 1.3em;
+ margin: 12px;
+ padding: 0 0 3px;
+}
+
+#gallery-settings .title,
+h3.media-title,
+h4.media-sub-title {
+ font-family: Georgia,"Times New Roman",Times,serif;
+ font-weight: normal;
+ color: #5A5A5A;
+}
+
+#gallery-settings .describe td {
+ vertical-align: middle;
+ height: 3em;
+}
+
+#gallery-settings .describe th.label {
+ padding-top: .5em;
+ text-align: left;
+}
+
+#gallery-settings .describe {
+ padding: 5px;
+ width: 615px;
+ clear: both;
+ cursor: default;
+}
+
+#gallery-settings .describe select {
+ width: 15em;
+}
+
+#gallery-settings .describe select option,
+#gallery-settings .describe td {
+ padding: 0;
+}
+
+#gallery-settings label,
+#gallery-settings legend {
+ font-size: 13px;
+ color: #464646;
+ margin-right: 15px;
+}
+
+#gallery-settings .align .field label {
+ margin: 0 1em 0 3px;
+}
+
+#gallery-settings p.ml-submit {
+ border-top: 1px solid #dfdfdf;
+}
+
+#gallery-settings select#columns {
+ width: 6em;
+}
+
+#sort-buttons {
+ font-size: 0.8em;
+ margin: 3px 25px -8px 0;
+ text-align: right;
+ max-width: 625px;
+}
+
+#sort-buttons a {
+ text-decoration: none;
+}
+
+#sort-buttons #asc,
+#sort-buttons #showall {
+ padding-left: 5px;
+}
+
+#sort-buttons span {
+ margin-right: 25px;
+}
+
+p.media-types {
+ margin: 1em;
+}
+
+tr.not-image {
+ display: none;
+}
+
+table.not-image tr.not-image {
+ display: table-row;
+}
+
+table.not-image tr.image-only {
+ display: none;
+}
+
+/**
+ * HiDPI Displays
+ */
+@media print,
+ (-o-min-device-pixel-ratio: 5/4),
+ (-webkit-min-device-pixel-ratio: 1.25),
+ (min-resolution: 120dpi) {
+
+ .image-align-none-label {
+ background-image: url("../images/align-none-2x.png?ver=20120916");
+ -webkit-background-size: 21px 15px;
+ background-size: 21px 15px;
+ }
+
+ .image-align-left-label {
+ background-image: url("../images/align-left-2x.png?ver=20120916");
+ -webkit-background-size: 22px 15px;
+ background-size: 22px 15px;
+ }
+
+ .image-align-center-label {
+ background-image: url("../images/align-center-2x.png?ver=20120916");
+ -webkit-background-size: 21px 15px;
+ background-size: 21px 15px;
+ }
+
+ .image-align-right-label {
+ background-image: url("../images/align-right-2x.png?ver=20120916");
+ -webkit-background-size: 22px 15px;
+ background-size: 22px 15px;
+ }
+}
</ins></span></pre></div>
<a id="trunksrcwpadmincssmediacss"></a>
<div class="delfile"><h4>Deleted: trunk/src/wp-admin/css/media.css (27180 => 27181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/media.css 2014-02-15 21:25:15 UTC (rev 27180)
+++ trunk/src/wp-admin/css/media.css 2014-02-16 00:35:12 UTC (rev 27181)
</span><span class="lines">@@ -1,376 +0,0 @@
</span><del>-/* Styles for the media library iframe (not used on the Library screen) */
-
-div#media-upload-header {
- margin: 0;
- padding: 5px 5px 0;
- font-weight: bold;
- position: relative;
- border-bottom-width: 1px;
- border-bottom-style: solid;
-}
-
-body#media-upload ul#sidemenu {
- font-weight: normal;
- margin: 0 5px;
- left: 0;
- bottom: -1px;
- float: none;
- overflow: hidden;
-}
-
-#media-upload:after { /* clearfix */
- content: "";
- display: table;
- clear: both;
-}
-
-#media-upload,
-#media-upload .media-item .slidetoggle {
- background: #fff;
-}
-
-#media-upload .slidetoggle {
- border-top-color: #dfdfdf;
-}
-
-#media-upload input[type="radio"] {
- padding: 0;
-}
-
-form {
- margin: 1em;
-}
-
-#search-filter {
- text-align: right;
-}
-
-th {
- position: relative;
-}
-
-.media-upload-form label.form-help, td.help {
- font-family: sans-serif;
- font-style: italic;
- font-weight: normal;
-}
-
-.media-upload-form p.help {
- margin: 0;
- padding: 0;
-}
-
-.media-upload-form fieldset {
- width: 100%;
- border: none;
- text-align: justify;
- margin: 0 0 1em 0;
- padding: 0;
-}
-
-/* specific to the image upload form */
-
-.image-align-none-label {
- background: url(../images/align-none.png) no-repeat center left;
-}
-
-.image-align-left-label {
- background: url(../images/align-left.png) no-repeat center left;
-}
-
-.image-align-center-label {
- background: url(../images/align-center.png) no-repeat center left;
-}
-
-.image-align-right-label {
- background: url(../images/align-right.png) no-repeat center left;
-}
-
-tr.image-size td {
- width: 460px;
-}
-
-tr.image-size div.image-size-item {
- margin: 0 0 5px;
-}
-
-#library-form .progress,
-#gallery-form .progress,
-.insert-gallery,
-.describe.startopen,
-.describe.startclosed {
- display: none;
-}
-
-.media-item .thumbnail {
- max-width: 128px;
- max-height: 128px;
-}
-
-thead.media-item-info tr {
- background-color: transparent;
-}
-
-.form-table thead.media-item-info {
- border: 8px solid #fff;
-}
-
-abbr.required {
- text-decoration: none;
- border: none;
-}
-
-.describe label {
- display: inline;
-}
-
-.describe td.error {
- padding: 2px 8px;
-}
-
-.describe td.A1 {
- width: 132px;
-}
-
-.describe input[type="text"],
-.describe textarea {
- width: 460px;
- border-width: 1px;
- border-style: solid;
-}
-
-/* Specific to Uploader */
-
-#media-upload p.ml-submit {
- padding: 1em 0;
-}
-
-#media-upload p.help,
-#media-upload label.help {
- font-family: sans-serif;
- font-style: italic;
- font-weight: normal;
-}
-
-#media-upload .ui-sortable .media-item {
- cursor: move;
-}
-
-#media-upload tr.image-size {
- margin-bottom: 1em;
- height: 3em;
-}
-
-#media-upload #filter {
- width: 623px;
-}
-
-#media-upload #filter .subsubsub {
- margin: 8px 0;
-}
-
-#filter .tablenav select {
- border-style: solid;
- border-width: 1px;
- padding: 2px;
- vertical-align: top;
- width: auto;
-}
-
-#media-upload .del-attachment {
- display: none;
- margin: 5px 0;
-}
-
-.menu_order {
- float: right;
- font-size: 11px;
- margin: 10px 10px 0;
-}
-
-.menu_order_input {
- border: 1px solid #ddd;
- font-size: 10px;
- padding: 1px;
- width: 23px;
-}
-
-.ui-sortable-helper {
- background-color: #fff;
- border: 1px solid #aaa;
- opacity: 0.6;
- filter: alpha(opacity=60);
-}
-
-#media-upload th.order-head {
- width: 20%;
- text-align: center;
-}
-
-#media-upload th.actions-head {
- width: 25%;
- text-align: center;
-}
-
-#media-upload a.wp-post-thumbnail {
- margin: 0 20px;
-}
-
-#media-upload .widefat {
- width: 626px;
- border-style: solid solid none;
-}
-
-.sorthelper {
- height: 37px;
- width: 623px;
- display: block;
-}
-
-#gallery-settings th.label {
- width: 160px;
-}
-
-#gallery-settings #basic th.label {
- padding: 5px 5px 5px 0;
-}
-
-#gallery-settings .title {
- clear: both;
- padding: 0 0 3px;
- font-size: 1.6em;
- border-bottom: 1px solid #DADADA;
-}
-
-h3.media-title {
- font-size: 1.6em;
-}
-
-h4.media-sub-title {
- border-bottom: 1px solid #DADADA;
- font-size: 1.3em;
- margin: 12px;
- padding: 0 0 3px;
-}
-
-#gallery-settings .title,
-h3.media-title,
-h4.media-sub-title {
- font-family: Georgia,"Times New Roman",Times,serif;
- font-weight: normal;
- color: #5A5A5A;
-}
-
-#gallery-settings .describe td {
- vertical-align: middle;
- height: 3em;
-}
-
-#gallery-settings .describe th.label {
- padding-top: .5em;
- text-align: left;
-}
-
-#gallery-settings .describe {
- padding: 5px;
- width: 615px;
- clear: both;
- cursor: default;
-}
-
-#gallery-settings .describe select {
- width: 15em;
-}
-
-#gallery-settings .describe select option,
-#gallery-settings .describe td {
- padding: 0;
-}
-
-#gallery-settings label,
-#gallery-settings legend {
- font-size: 13px;
- color: #464646;
- margin-right: 15px;
-}
-
-#gallery-settings .align .field label {
- margin: 0 1em 0 3px;
-}
-
-#gallery-settings p.ml-submit {
- border-top: 1px solid #dfdfdf;
-}
-
-#gallery-settings select#columns {
- width: 6em;
-}
-
-#sort-buttons {
- font-size: 0.8em;
- margin: 3px 25px -8px 0;
- text-align: right;
- max-width: 625px;
-}
-
-#sort-buttons a {
- text-decoration: none;
-}
-
-#sort-buttons #asc,
-#sort-buttons #showall {
- padding-left: 5px;
-}
-
-#sort-buttons span {
- margin-right: 25px;
-}
-
-p.media-types {
- margin: 1em;
-}
-
-tr.not-image {
- display: none;
-}
-
-table.not-image tr.not-image {
- display: table-row;
-}
-
-table.not-image tr.image-only {
- display: none;
-}
-
-/**
- * HiDPI Displays
- */
-@media print,
- (-o-min-device-pixel-ratio: 5/4),
- (-webkit-min-device-pixel-ratio: 1.25),
- (min-resolution: 120dpi) {
-
- .image-align-none-label {
- background-image: url("../images/align-none-2x.png?ver=20120916");
- -webkit-background-size: 21px 15px;
- background-size: 21px 15px;
- }
-
- .image-align-left-label {
- background-image: url("../images/align-left-2x.png?ver=20120916");
- -webkit-background-size: 22px 15px;
- background-size: 22px 15px;
- }
-
- .image-align-center-label {
- background-image: url("../images/align-center-2x.png?ver=20120916");
- -webkit-background-size: 21px 15px;
- background-size: 21px 15px;
- }
-
- .image-align-right-label {
- background-image: url("../images/align-right-2x.png?ver=20120916");
- -webkit-background-size: 22px 15px;
- background-size: 22px 15px;
- }
-}
</del></span></pre></div>
<a id="trunksrcwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/script-loader.php (27180 => 27181)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/script-loader.php 2014-02-15 21:25:15 UTC (rev 27180)
+++ trunk/src/wp-includes/script-loader.php 2014-02-16 00:35:12 UTC (rev 27181)
</span><span class="lines">@@ -551,15 +551,6 @@
</span><span class="cx"> $styles->text_direction = function_exists( 'is_rtl' ) && is_rtl() ? 'rtl' : 'ltr';
</span><span class="cx"> $styles->default_dirs = array('/wp-admin/', '/wp-includes/css/');
</span><span class="cx">
</span><del>- $suffix = SCRIPT_DEBUG ? '' : '.min';
-
- $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls', 'media-views', 'wp-color-picker', 'wp-pointer', 'editor-buttons', 'farbtastic', 'wp-auth-check', 'wp-jquery-ui-dialog', 'media-views', 'buttons', 'install' );
-
- $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
-
- $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" );
- $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
-
</del><span class="cx"> $open_sans_font_url = '';
</span><span class="cx">
</span><span class="cx"> /* translators: If there are characters in your language that are not supported
</span><span class="lines">@@ -585,37 +576,58 @@
</span><span class="cx"> $open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
</span><span class="cx"> }
</span><span class="cx">
</span><del>- $styles->add( 'open-sans', $open_sans_font_url );
-
- // Dashicons
- $styles->add( 'dashicons', "/wp-includes/css/dashicons$suffix.css" );
-
</del><span class="cx"> // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
</span><del>-
</del><span class="cx"> $styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) );
</span><span class="cx">
</span><span class="cx"> // do not refer to this directly, the right one is queued by the above "meta" colors handle
</span><span class="cx"> $styles->add( 'colors-fresh', false, array( 'wp-admin', 'buttons' ) );
</span><span class="cx">
</span><del>- $styles->add( 'media', "/wp-admin/css/media$suffix.css" );
- $styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );
- $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array( 'dashicons' ), '20131201' );
- $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
- $styles->add( 'wp-color-picker', "/wp-admin/css/color-picker$suffix.css" );
- $styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' );
- $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' );
- $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) );
- $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array( 'dashicons' ) );
- $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) );
- $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) );
</del><ins>+ $suffix = SCRIPT_DEBUG ? '' : '.min';
+
+ // Admin CSS
+ $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
+ $styles->add( 'install', "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );
+ $styles->add( 'wp-color-picker', "/wp-admin/css/color-picker$suffix.css" );
</ins><span class="cx"> $styles->add( 'customize-controls', "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie' ) );
</span><del>- $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons' ) );
- $styles->add( 'buttons', "/wp-includes/css/buttons$suffix.css" );
- $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) );
</del><ins>+ $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" );
</ins><span class="cx">
</span><del>- $styles->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelementplayer.min.css", array(), '2.13.0' );
- $styles->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement.css", array( 'mediaelement' ) );
</del><ins>+ $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
</ins><span class="cx">
</span><ins>+ // Common dependencies
+ $styles->add( 'buttons', "/wp-includes/css/buttons$suffix.css" );
+ $styles->add( 'dashicons', "/wp-includes/css/dashicons$suffix.css" );
+ $styles->add( 'open-sans', $open_sans_font_url );
+
+ // Includes CSS
+ $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) );
+ $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css", array( 'dashicons' ) );
+ $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) );
+ $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons' ) );
+ $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) );
+
+ // External libraries and friends
+ $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' );
+ $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array( 'dashicons' ) );
+ $styles->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelementplayer.min.css", array(), '2.13.0' );
+ $styles->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement.css", array( 'mediaelement' ) );
+ $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array( 'dashicons' ), '20131201' );
+
+ // Deprecated CSS
+ $styles->add( 'media', "/wp-admin/css/deprecated-media$suffix.css" );
+ $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
+ $styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' );
+
+ // RTL CSS
+ $rtl_styles = array(
+ // wp-admin
+ 'wp-admin', 'install', 'wp-color-picker', 'customize-controls', 'ie',
+ // wp-includes
+ 'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer',
+ 'wp-jquery-ui-dialog',
+ // deprecated
+ 'media', 'farbtastic',
+ );
+
</ins><span class="cx"> foreach ( $rtl_styles as $rtl_style ) {
</span><span class="cx"> $styles->add_data( $rtl_style, 'rtl', 'replace' );
</span><span class="cx"> if ( $suffix ) {
</span></span></pre>
</div>
</div>
</body>
</html>