Skip to content

Commit e3b46b2

Browse files
author
ryan
committed
Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 3fe0d5e commit e3b46b2

File tree

171 files changed

+0
-268
lines changed

Some content is hidden

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

171 files changed

+0
-268
lines changed

index.php

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515

1616
/** Loads the WordPress Environment and Template */
1717
require('./wp-blog-header.php');
18-
?>

wp-admin/about.php

-2
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,3 @@
198198
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
199199

200200
__( 'For more information, see <a href="%s">the release notes</a>.' );
201-
202-
?>

wp-admin/admin-ajax.php

-1
Original file line numberDiff line numberDiff line change
@@ -1587,4 +1587,3 @@ function _wp_ajax_add_hierarchical_term() {
15871587
die('0');
15881588
break;
15891589
endswitch;
1590-
?>

wp-admin/admin-functions.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313

1414
/** WordPress Administration API: Includes all Administration functions. */
1515
require_once(ABSPATH . 'wp-admin/includes/admin.php');
16-
?>

wp-admin/admin-post.php

-2
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,3 @@
2929
$action .= '_' . $_REQUEST['action'];
3030

3131
do_action($action);
32-
33-
?>

wp-admin/admin.php

-2
Original file line numberDiff line numberDiff line change
@@ -228,5 +228,3 @@
228228

229229
if ( !empty($_REQUEST['action']) )
230230
do_action('admin_action_' . $_REQUEST['action']);
231-
232-
?>

wp-admin/async-upload.php

-2
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,3 @@
6666
$type = $_REQUEST['type'];
6767
echo apply_filters("async_upload_{$type}", $id);
6868
}
69-
70-
?>

wp-admin/comment.php

-2
Original file line numberDiff line numberDiff line change
@@ -295,5 +295,3 @@ function comment_footer_die( $msg ) {
295295
} // end switch
296296

297297
include('./admin-footer.php');
298-
299-
?>

wp-admin/credits.php

-2
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,3 @@ function _wp_credits_build_object_link( &$data ) {
157157
__( 'Internationalization' );
158158
__( 'External Libraries' );
159159
__( 'Icon Design' );
160-
161-
?>

wp-admin/css/ie-rtl.dev.css

-1
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,3 @@ p.button-controls,
241241
#nav-menus-frame .delete-action {
242242
float: none;
243243
}
244-

wp-admin/css/ie.dev.css

-1
Original file line numberDiff line numberDiff line change
@@ -547,4 +547,3 @@ table.ie-fixed {
547547
* html #adminmenu div.wp-menu-image {
548548
height: 29px;
549549
}
550-

wp-admin/css/install.dev.css

-1
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,3 @@ body.rtl {
261261
.rtl #pass2 {
262262
direction: ltr;
263263
}
264-

wp-admin/custom-background.php

-1
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,3 @@ function handle_upload() {
367367
}
368368

369369
}
370-
?>

wp-admin/custom-header.php

-1
Original file line numberDiff line numberDiff line change
@@ -796,4 +796,3 @@ function admin_page() {
796796
}
797797

798798
}
799-
?>

wp-admin/edit-tags.php

-2
Original file line numberDiff line numberDiff line change
@@ -416,5 +416,3 @@
416416
}
417417

418418
include('./admin-footer.php');
419-
420-
?>

wp-admin/import.php

-1
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,3 @@
137137
<?php
138138

139139
include ('admin-footer.php');
140-
?>

wp-admin/includes/admin.php

-2
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,3 @@
6363
require_once(ABSPATH . 'wp-admin/includes/ms.php');
6464
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
6565
}
66-
67-
?>

wp-admin/includes/bookmark.php

-2
Original file line numberDiff line numberDiff line change
@@ -265,5 +265,3 @@ function wp_update_link( $linkdata ) {
265265

266266
return wp_insert_link( $linkdata );
267267
}
268-
269-
?>

wp-admin/includes/class-wp-comments-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -556,5 +556,3 @@ function get_per_page( $comment_status = false ) {
556556
return 10;
557557
}
558558
}
559-
560-
?>

wp-admin/includes/class-wp-filesystem-base.php

-2
Original file line numberDiff line numberDiff line change
@@ -328,5 +328,3 @@ function is_binary( $text ) {
328328
return (bool) preg_match('|[^\x20-\x7E]|', $text); //chr(32)..chr(127)
329329
}
330330
}
331-
332-
?>

wp-admin/includes/class-wp-filesystem-direct.php

-1
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,3 @@ function dirlist($path, $include_hidden = true, $recursive = false) {
361361
return $ret;
362362
}
363363
}
364-
?>

wp-admin/includes/class-wp-filesystem-ftpext.php

-2
Original file line numberDiff line numberDiff line change
@@ -387,5 +387,3 @@ function __destruct() {
387387
ftp_close($this->link);
388388
}
389389
}
390-
391-
?>

wp-admin/includes/class-wp-filesystem-ftpsockets.php

-2
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,3 @@ function __destruct() {
327327
$this->ftp->quit();
328328
}
329329
}
330-
331-
?>

wp-admin/includes/class-wp-links-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,3 @@ function display_rows() {
182182
}
183183
}
184184
}
185-
186-
?>

wp-admin/includes/class-wp-list-table.php

-1
Original file line numberDiff line numberDiff line change
@@ -913,4 +913,3 @@ function _js_vars() {
913913
printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) );
914914
}
915915
}
916-
?>

wp-admin/includes/class-wp-media-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -392,5 +392,3 @@ function _get_row_actions( $post, $att_title ) {
392392
return $actions;
393393
}
394394
}
395-
396-
?>

wp-admin/includes/class-wp-ms-sites-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -337,5 +337,3 @@ function display_rows() {
337337
}
338338
}
339339
}
340-
341-
?>

wp-admin/includes/class-wp-ms-themes-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -357,5 +357,3 @@ function single_row( $key, $theme ) {
357357
do_action( "after_theme_row_$theme_key", $theme_key, $theme, $status );
358358
}
359359
}
360-
361-
?>

wp-admin/includes/class-wp-ms-users-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -273,5 +273,3 @@ function display_rows() {
273273
}
274274
}
275275
}
276-
277-
?>

wp-admin/includes/class-wp-plugin-install-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,3 @@ function display_rows() {
238238
}
239239
}
240240
}
241-
242-
?>

wp-admin/includes/class-wp-plugins-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -448,5 +448,3 @@ function single_row( $plugin_file, $plugin_data ) {
448448
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $status );
449449
}
450450
}
451-
452-
?>

wp-admin/includes/class-wp-posts-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -1050,5 +1050,3 @@ function inline_edit() {
10501050
<?php
10511051
}
10521052
}
1053-
1054-
?>

wp-admin/includes/class-wp-terms-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,3 @@ function inline_edit() {
378378
<?php
379379
}
380380
}
381-
382-
?>

wp-admin/includes/class-wp-theme-install-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,3 @@ function display_rows() {
165165
<?php } // end foreach $theme_names
166166
}
167167
}
168-
169-
?>

wp-admin/includes/class-wp-themes-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -218,5 +218,3 @@ function search_theme( $theme ) {
218218
return true;
219219
}
220220
}
221-
222-
?>

wp-admin/includes/class-wp-users-list-table.php

-2
Original file line numberDiff line numberDiff line change
@@ -316,5 +316,3 @@ function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
316316
return $r;
317317
}
318318
}
319-
320-
?>

wp-admin/includes/comment.php

-1
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() {
156156
if ( 'true' == get_user_option( 'comment_shortcuts' ) )
157157
wp_enqueue_script( 'jquery-table-hotkeys' );
158158
}
159-
?>

wp-admin/includes/dashboard.php

-2
Original file line numberDiff line numberDiff line change
@@ -1356,5 +1356,3 @@ function wp_welcome_panel() {
13561356
</div>
13571357
<?php
13581358
}
1359-
1360-
?>

wp-admin/includes/file.php

-2
Original file line numberDiff line numberDiff line change
@@ -1075,5 +1075,3 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
10751075
<?php
10761076
return false;
10771077
}
1078-
1079-
?>

wp-admin/includes/image-edit.php

-1
Original file line numberDiff line numberDiff line change
@@ -664,4 +664,3 @@ function wp_save_image($post_id) {
664664
$return->msg = esc_js( __('Image saved') );
665665
return $return;
666666
}
667-

wp-admin/includes/import.php

-2
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,3 @@ function wp_import_handle_upload() {
9393

9494
return array( 'file' => $file, 'id' => $id );
9595
}
96-
97-
?>

wp-admin/includes/list-table.php

-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,3 @@ function get_columns() {
101101
return $this->_columns;
102102
}
103103
}
104-
?>

wp-admin/includes/menu.php

-2
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,3 @@ function sort_menu($a, $b) {
227227
}
228228

229229
$menu = add_menu_classes($menu);
230-
231-
?>

wp-admin/includes/misc.php

-1
Original file line numberDiff line numberDiff line change
@@ -591,4 +591,3 @@ function _ipad_meta() {
591591
}
592592
}
593593
add_action('admin_head', '_ipad_meta');
594-

wp-admin/includes/ms-deprecated.php

-2
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,3 @@ function is_wpmu_sitewide_plugin( $file ) {
6464
_deprecated_function(__FUNCTION__, '3.0', 'is_network_only_plugin()' );
6565
return is_network_only_plugin( $file );
6666
}
67-
68-
?>

wp-admin/includes/ms.php

-1
Original file line numberDiff line numberDiff line change
@@ -788,4 +788,3 @@ function wp_is_large_network( $using = 'sites' ) {
788788
$count = get_blog_count();
789789
return apply_filters( 'wp_is_large_network', $count > 10000, 'sites', $count );
790790
}
791-
?>

wp-admin/includes/nav-menu.php

-2
Original file line numberDiff line numberDiff line change
@@ -1161,5 +1161,3 @@ function _wp_delete_orphaned_draft_menu_items() {
11611161
}
11621162

11631163
add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items');
1164-
1165-
?>

wp-admin/includes/plugin.php

-2
Original file line numberDiff line numberDiff line change
@@ -1721,5 +1721,3 @@ function settings_fields($option_group) {
17211721
echo '<input type="hidden" name="action" value="update" />';
17221722
wp_nonce_field("$option_group-options");
17231723
}
1724-
1725-
?>

wp-admin/includes/schema.php

-2
Original file line numberDiff line numberDiff line change
@@ -958,5 +958,3 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
958958

959959
return true;
960960
}
961-
962-
?>

wp-admin/includes/theme-install.php

-1
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,3 @@ function install_theme_information() {
320320
exit;
321321
}
322322
add_action('install_themes_pre_theme-information', 'install_theme_information');
323-

wp-admin/includes/theme.php

-2
Original file line numberDiff line numberDiff line change
@@ -417,5 +417,3 @@ function themes_api($action, $args = null) {
417417

418418
return apply_filters('themes_api_result', $res, $action, $args);
419419
}
420-
421-
?>

wp-admin/includes/update.php

-2
Original file line numberDiff line numberDiff line change
@@ -304,5 +304,3 @@ function maintenance_nag() {
304304
echo "<div class='update-nag'>$msg</div>";
305305
}
306306
add_action( 'admin_notices', 'maintenance_nag' );
307-
308-
?>

wp-admin/includes/upgrade.php

-1
Original file line numberDiff line numberDiff line change
@@ -1970,4 +1970,3 @@ function install_global_terms() {
19701970
dbDelta( $ms_queries );
19711971
}
19721972
endif;
1973-
?>

wp-admin/includes/user.php

-2
Original file line numberDiff line numberDiff line change
@@ -343,5 +343,3 @@ function default_password_nag() {
343343
printf( '<a href="%s" id="default-password-nag-no">' . __('No thanks, do not remind me again') . '</a>', '?default_password_nag=0' );
344344
echo '</p></div>';
345345
}
346-
347-
?>

wp-admin/includes/widgets.php

-1
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,3 @@ function wp_widget_control( $sidebar_args ) {
222222
echo $sidebar_args['after_widget'];
223223
return $sidebar_args;
224224
}
225-

wp-admin/index-extra.php

-2
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,3 @@
3636
break;
3737

3838
}
39-
40-
?>

wp-admin/install-helper.php

-2
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,3 @@ function check_column($table_name, $col_name, $col_type, $is_null = null, $key =
213213
}
214214
return false;
215215
}
216-
217-
?>

wp-admin/js/editor.dev.js

-1
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,3 @@ var switchEditors = {
203203
return o.data;
204204
}
205205
}
206-

wp-admin/js/theme-preview.dev.js

-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ jQuery(document).ready(function($) {
6161
});
6262

6363
});
64-

wp-admin/link-add.php

-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
include('./edit-link-form.php');
2828

2929
require('./admin-footer.php');
30-
?>

wp-admin/link-parse-opml.php

-1
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@ function endElement($parser, $tagName) {
9494

9595
// Free up memory used by the XML parser
9696
xml_parser_free($xml_parser);
97-
?>

wp-admin/link.php

-1
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,3 @@
115115
default :
116116
break;
117117
}
118-
?>

wp-admin/media-new.php

-2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515
/** Administration bootstrap */
1616
require_once('./admin.php');
1717
require_once('./media-upload.php');
18-
19-
?>

wp-admin/media-upload.php

-1
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,3 @@
136136
else
137137
do_action("media_upload_$tab");
138138
}
139-
?>

wp-admin/media.php

-2
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,3 @@
144144
exit;
145145

146146
endswitch;
147-
148-
?>

wp-admin/menu.php

-2
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,3 @@ function _add_themes_utility_last() {
232232
);
233233

234234
require_once(ABSPATH . 'wp-admin/includes/menu.php');
235-
236-
?>

wp-admin/moderation.php

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
require_once('../wp-load.php');
1111
wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
1212
exit;
13-
?>

wp-admin/ms-admin.php

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@
1111

1212
wp_redirect( network_admin_url() );
1313
exit;
14-
?>

wp-admin/ms-delete-site.php

-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@
8080
echo '</div>';
8181

8282
include( './admin-footer.php' );
83-
?>

wp-admin/ms-edit.php

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@
1111

1212
wp_redirect( network_admin_url() );
1313
exit;
14-
?>

0 commit comments

Comments
 (0)