Skip to content

Commit 2272a1a

Browse files
committed
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9d19580 commit 2272a1a

90 files changed

Lines changed: 442 additions & 442 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

wp-admin/admin-ajax.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
$s = $_GET['q']; // is this slashed already?
1515
16-
if ( strstr( $s, ',' ) ) {
17-
$s = explode( ',', $s );
18-
$s = $s[count( $s ) - 1];
16+
if ( strstr( $s, ',' ) ) {
17+
$s = explode( ',', $s );
18+
$s = $s[count( $s ) - 1];
1919
}
2020
$s = trim( $s );
2121
if ( strlen( $s ) < 2 )
@@ -278,7 +278,7 @@
278278
) );
279279
$x->send();
280280
}
281-
281+
282282
$cat = wp_insert_category( $_POST, true );
283283

284284
if ( is_wp_error($cat) ) {

wp-admin/admin-header.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function add_minwidth($c) {
7474
</div>
7575

7676
<?php
77-
if ( ! $is_opera ) {
77+
if ( ! $is_opera ) {
7878
?>
7979
<div id="gears-info-box" class="info-box" style="display:none;">
8080
<img src="images/gear.png" title="Gear" alt="" class="gears-img" />
@@ -89,14 +89,14 @@ function add_minwidth($c) {
8989

9090
<div id="gears-msg2" style="display:none;">
9191
<h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
92-
<p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p>
93-
<p><?php
94-
92+
<p><?php _e('Gears is installed on this computer but is not enabled for use with WordPress.'); ?></p>
93+
<p><?php
94+
9595
if ( $is_safari )
9696
_e('To enable it, make sure this web site is not on the denied list in Gears Settings under the Safari menu, then click the button below.');
9797
else
98-
_e('To enable it, make sure this web site is not on the denied list in Gears Settings under your browser Tools menu, then click the button below.');
99-
98+
_e('To enable it, make sure this web site is not on the denied list in Gears Settings under your browser Tools menu, then click the button below.');
99+
100100
?></p>
101101
<p><strong><?php _e('However if this is a public or shared computer, Gears should not be enabled.'); ?></strong></p>
102102
<div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button>
@@ -106,12 +106,12 @@ function add_minwidth($c) {
106106
<div id="gears-msg3" style="display:none;">
107107
<h3 class="info-box-title"><?php _e('Gears Status'); ?></h3>
108108
<p><?php
109-
109+
110110
if ( $is_safari )
111111
_e('Gears is installed and enabled on this computer. You can disable it from the Safari menu.');
112112
else
113-
_e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.');
114-
113+
_e('Gears is installed and enabled on this computer. You can disable it from your browser Tools menu.');
114+
115115
?></p>
116116
<p><?php _e('If there are any errors, try disabling Gears, then reload the page and enable it again.'); ?></p>
117117
<p><?php _e('Local storage status:'); ?> <span id="gears-wait"><span style="color:#f00;"><?php _e('Please wait! Updating files:'); ?></span> <span id="gears-upd-number"></span></span></p>

wp-admin/async-upload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
if ( !current_user_can('upload_files') )
2323
wp_die(__('You do not have permission to upload files.'));
2424

25-
// just fetch the detail form for that attachment
25+
// just fetch the detail form for that attachment
2626
if ( ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
2727
echo get_media_item($id);
2828
exit;

wp-admin/css/colors-classic.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,9 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
554554

555555
/* TinyMCE */
556556
.wp_themeSkin *,
557-
.wp_themeSkin a:hover,
558-
.wp_themeSkin a:link,
559-
.wp_themeSkin a:visited,
557+
.wp_themeSkin a:hover,
558+
.wp_themeSkin a:link,
559+
.wp_themeSkin a:visited,
560560
.wp_themeSkin a:active {
561561
color: #000;
562562
}
@@ -577,13 +577,13 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
577577
}
578578

579579
/* Button */
580-
.wp_themeSkin .mceButton {
580+
.wp_themeSkin .mceButton {
581581
background-color: #e9e8e8;
582582
border-color: #83B4D5;
583583
}
584584

585585
.wp_themeSkin a.mceButtonEnabled:hover,
586-
.wp_themeSkin a.mceButtonActive,
586+
.wp_themeSkin a.mceButtonActive,
587587
.wp_themeSkin a.mceButtonSelected {
588588
background-color: #d6d8da;
589589
border-color: #7789ba !important;
@@ -600,26 +600,26 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
600600
background-color: #e9e8e8;
601601
}
602602

603-
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
603+
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
604604
.wp_themeSkin .mceListBoxHover .mceOpen,
605605
.wp_themeSkin .mceListBoxSelected .mceOpen,
606606
.wp_themeSkin .mceListBoxSelected .mceText {
607607
border-color: #7789ba !important;
608608
background-color: #d6d8da;
609609
}
610610

611-
.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
611+
.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
612612
.wp_themeSkin .mceListBoxHover .mceText {
613613
border-color: #7789ba !important;
614614
}
615615

616616
.wp_themeSkin select.mceListBox {
617-
border-color: #b3c7e1;
617+
border-color: #b3c7e1;
618618
background-color: #fff;
619619
}
620620

621621
/* SplitButton */
622-
.wp_themeSkin .mceSplitButton a.mceAction,
622+
.wp_themeSkin .mceSplitButton a.mceAction,
623623
.wp_themeSkin .mceSplitButton a.mceOpen {
624624
background-color: #e9e8e8;
625625
border-color: #83B4D5;
@@ -631,7 +631,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
631631
.wp_themeSkin .mceSplitButton a.mceAction:hover {
632632
background-color: #d6d8da;
633633
border-color: #7789ba !important;
634-
}
634+
}
635635

636636
.wp_themeSkin .mceSplitButtonActive {
637637
background-color: #d6d8da;
@@ -670,7 +670,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
670670
}
671671

672672
.wp_themeSkin .mceMenu .mceText {
673-
color: #000;
673+
color: #000;
674674
}
675675

676676
.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,
@@ -681,7 +681,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
681681
background-color: #aaa;
682682
}
683683
.wp_themeSkin .mceMenuItemTitle a {
684-
background-color: #ccc;
684+
background-color: #ccc;
685685
border-bottom-color: #aaa;
686686
}
687687
.wp_themeSkin .mceMenuItemTitle span.mceText {

wp-admin/css/colors-fresh.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ input.disabled, textarea.disabled {
3737

3838
#user_info a:hover, li.widget-list-control-item h4.widget-title a:hover, .submit a, #dashmenu a:hover, #footer a, #upload-menu li a.upload-tab-link, li.widget-list-control-item h4.widget-title a,
3939
#dragHelper li.widget-list-control-item h4.widget-title a,
40-
#draghelper li.widget-list-control-item h4.widget-title a:visited, .login #backtoblog a:hover,
40+
#draghelper li.widget-list-control-item h4.widget-title a:visited, .login #backtoblog a:hover,
4141
#plugin-information .action-button a, #plugin-information .action-button a:hover, #plugin-information .action-button a:visited {
4242
color: #fff;
4343
}
@@ -526,9 +526,9 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
526526

527527
/* TinyMCE */
528528
.wp_themeSkin *,
529-
.wp_themeSkin a:hover,
530-
.wp_themeSkin a:link,
531-
.wp_themeSkin a:visited,
529+
.wp_themeSkin a:hover,
530+
.wp_themeSkin a:link,
531+
.wp_themeSkin a:visited,
532532
.wp_themeSkin a:active {
533533
color: #000;
534534
}
@@ -549,13 +549,13 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
549549
}
550550

551551
/* Button */
552-
.wp_themeSkin .mceButton {
552+
.wp_themeSkin .mceButton {
553553
background-color: #e9e8e8;
554554
border-color: #abc0fb;
555555
}
556556

557557
.wp_themeSkin a.mceButtonEnabled:hover,
558-
.wp_themeSkin a.mceButtonActive,
558+
.wp_themeSkin a.mceButtonActive,
559559
.wp_themeSkin a.mceButtonSelected {
560560
background-color: #d6d8da;
561561
border-color: #7789ba !important;
@@ -572,26 +572,26 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
572572
background-color: #e9e8e8;
573573
}
574574

575-
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
575+
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
576576
.wp_themeSkin .mceListBoxHover .mceOpen,
577577
.wp_themeSkin .mceListBoxSelected .mceOpen,
578578
.wp_themeSkin .mceListBoxSelected .mceText {
579579
border-color: #7789ba !important;
580580
background-color: #d6d8da;
581581
}
582582

583-
.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
583+
.wp_themeSkin table.mceListBoxEnabled:hover .mceText,
584584
.wp_themeSkin .mceListBoxHover .mceText {
585585
border-color: #7789ba !important;
586586
}
587587

588588
.wp_themeSkin select.mceListBox {
589-
border-color: #b3c7e1;
589+
border-color: #b3c7e1;
590590
background-color: #fff;
591591
}
592592

593593
/* SplitButton */
594-
.wp_themeSkin .mceSplitButton a.mceAction,
594+
.wp_themeSkin .mceSplitButton a.mceAction,
595595
.wp_themeSkin .mceSplitButton a.mceOpen {
596596
background-color: #e9e8e8;
597597
border-color: #abc0fb;
@@ -603,7 +603,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
603603
.wp_themeSkin .mceSplitButton a.mceAction:hover {
604604
background-color: #d6d8da;
605605
border-color: #7789ba !important;
606-
}
606+
}
607607

608608
.wp_themeSkin .mceSplitButtonActive {
609609
background-color: #d6d8da;
@@ -642,7 +642,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
642642
}
643643

644644
.wp_themeSkin .mceMenu .mceText {
645-
color: #000;
645+
color: #000;
646646
}
647647

648648
.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,
@@ -653,7 +653,7 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover
653653
background-color: #aaa;
654654
}
655655
.wp_themeSkin .mceMenuItemTitle a {
656-
background-color: #ccc;
656+
background-color: #ccc;
657657
border-bottom-color: #aaa;
658658
}
659659
.wp_themeSkin .mceMenuItemTitle span.mceText {

wp-admin/css/dashboard-rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ h3.dashboard-widget-title span {
2525
div.dashboard-widget-submit input {
2626
font-family: sans-serif !important;
2727
}
28-
28+
2929
#dashboard-widgets .widget_rss ul li a {
3030
float:right;
3131
font-weight:bold;

wp-admin/css/dashboard.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ div#dashboard-widgets {
6666
width: 100%;
6767
}
6868

69-
div.dashboard-widget-holder {
69+
div.dashboard-widget-holder {
7070
margin-top: 20px;
7171
width: 50%;
7272
float: left;
@@ -157,7 +157,7 @@ div.dashboard-widget-submit input {
157157
-webkit-border-radius: 3px;
158158
border-radius: 3px;
159159
cursor: pointer;
160-
text-decoration: none;
160+
text-decoration: none;
161161
}
162162

163163
div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {

wp-admin/css/global-rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ textarea, input, select { font-family: sans-serif; }
88

99
.textleft { text-align: right; }
1010
.textright { text-align: left; }
11-
11+
1212
.wrap h2 { font-family: sans-serif; }
1313

1414
.widefat td {

wp-admin/css/ie-rtl.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ body, td {
33
font-family: Tahoma,Verdana,sans-serif;
44
}
55

6-
#wpcontent #sidemenu li a {
7-
float: left;
6+
#wpcontent #sidemenu li a {
7+
float: left;
88
}
99

1010
.wrap {
@@ -59,7 +59,7 @@ p#widget-search, p#post-search {
5959
/* IE6 */
6060

6161
/* Search box gets stuck to the right, hidden outside view */
62-
* html #post-search, * html #widget-search {
62+
* html #post-search, * html #widget-search {
6363
height: 1% !important;
6464
right: 600px !important;
6565
}
@@ -75,7 +75,7 @@ p#widget-search, p#post-search {
7575
}
7676

7777
/* Bad floating in the sub-sub-sub menu makes links un-clickable */
78-
* html .subsubsub li {
78+
* html .subsubsub li {
7979
display: block; float: right; margin: 0 2px;
8080
}
8181

@@ -85,15 +85,15 @@ p#widget-search, p#post-search {
8585
}
8686

8787
/* Theme selector on theme edit page gets stuck to the left, hidden outside view */
88-
* html #themeselector {
88+
* html #themeselector {
8989
position: static;
9090
}
9191

9292
/* Template edit area floats beneath template list, gets RTLed */
9393
* html #template {
94-
float: right;
94+
float: right;
9595
overflow: hidden;
96-
width: 755px !important;
96+
width: 755px !important;
9797
}
9898
* html #template #newcontent {
9999
direction: ltr;

wp-admin/css/login.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0;}
3030
-webkit-border-radius: 3px;
3131
border-radius: 3px;
3232
cursor: default;
33-
text-decoration: none;
33+
text-decoration: none;
3434
margin-top: -6px;
3535
}
3636

0 commit comments

Comments
 (0)