Skip to content

Commit

Permalink
Lose EOF ?>. Clean up EOF newlines. fixes #12307
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Jan 8, 2012
1 parent 3fe0d5e commit e3b46b2
Show file tree
Hide file tree
Showing 171 changed files with 0 additions and 268 deletions.
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
2 changes: 0 additions & 2 deletions wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,3 @@
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );

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

?>
1 change: 0 additions & 1 deletion wp-admin/admin-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -1587,4 +1587,3 @@ function _wp_ajax_add_hierarchical_term() {
die('0');
break;
endswitch;
?>
1 change: 0 additions & 1 deletion wp-admin/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@

/** WordPress Administration API: Includes all Administration functions. */
require_once(ABSPATH . 'wp-admin/includes/admin.php');
?>
2 changes: 0 additions & 2 deletions wp-admin/admin-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@
$action .= '_' . $_REQUEST['action'];

do_action($action);

?>
2 changes: 0 additions & 2 deletions wp-admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,3 @@

if ( !empty($_REQUEST['action']) )
do_action('admin_action_' . $_REQUEST['action']);

?>
2 changes: 0 additions & 2 deletions wp-admin/async-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@
$type = $_REQUEST['type'];
echo apply_filters("async_upload_{$type}", $id);
}

?>
2 changes: 0 additions & 2 deletions wp-admin/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,3 @@ function comment_footer_die( $msg ) {
} // end switch

include('./admin-footer.php');

?>
2 changes: 0 additions & 2 deletions wp-admin/credits.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,3 @@ function _wp_credits_build_object_link( &$data ) {
__( 'Internationalization' );
__( 'External Libraries' );
__( 'Icon Design' );

?>
1 change: 0 additions & 1 deletion wp-admin/css/ie-rtl.dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,3 @@ p.button-controls,
#nav-menus-frame .delete-action {
float: none;
}

1 change: 0 additions & 1 deletion wp-admin/css/ie.dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -547,4 +547,3 @@ table.ie-fixed {
* html #adminmenu div.wp-menu-image {
height: 29px;
}

1 change: 0 additions & 1 deletion wp-admin/css/install.dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,3 @@ body.rtl {
.rtl #pass2 {
direction: ltr;
}

1 change: 0 additions & 1 deletion wp-admin/custom-background.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,4 +367,3 @@ function handle_upload() {
}

}
?>
1 change: 0 additions & 1 deletion wp-admin/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,4 +796,3 @@ function admin_page() {
}

}
?>
2 changes: 0 additions & 2 deletions wp-admin/edit-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,5 +416,3 @@
}

include('./admin-footer.php');

?>
1 change: 0 additions & 1 deletion wp-admin/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,3 @@
<?php

include ('admin-footer.php');
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@
require_once(ABSPATH . 'wp-admin/includes/ms.php');
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/bookmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,3 @@ function wp_update_link( $linkdata ) {

return wp_insert_link( $linkdata );
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-comments-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,3 @@ function get_per_page( $comment_status = false ) {
return 10;
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-filesystem-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,5 +328,3 @@ function is_binary( $text ) {
return (bool) preg_match('|[^\x20-\x7E]|', $text); //chr(32)..chr(127)
}
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/class-wp-filesystem-direct.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,4 +361,3 @@ function dirlist($path, $include_hidden = true, $recursive = false) {
return $ret;
}
}
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-filesystem-ftpext.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,5 +387,3 @@ function __destruct() {
ftp_close($this->link);
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-filesystem-ftpsockets.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,5 +327,3 @@ function __destruct() {
$this->ftp->quit();
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-links-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,3 @@ function display_rows() {
}
}
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/class-wp-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,3 @@ function _js_vars() {
printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) );
}
}
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-media-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,3 @@ function _get_row_actions( $post, $att_title ) {
return $actions;
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-ms-sites-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,5 +337,3 @@ function display_rows() {
}
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-ms-themes-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,3 @@ function single_row( $key, $theme ) {
do_action( "after_theme_row_$theme_key", $theme_key, $theme, $status );
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-ms-users-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,3 @@ function display_rows() {
}
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-plugin-install-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,3 @@ function display_rows() {
}
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-plugins-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,5 +448,3 @@ function single_row( $plugin_file, $plugin_data ) {
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $status );
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-posts-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -1050,5 +1050,3 @@ function inline_edit() {
<?php
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-terms-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,5 +378,3 @@ function inline_edit() {
<?php
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-theme-install-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,3 @@ function display_rows() {
<?php } // end foreach $theme_names
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-themes-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,3 @@ function search_theme( $theme ) {
return true;
}
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/class-wp-users-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,3 @@ function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
return $r;
}
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() {
if ( 'true' == get_user_option( 'comment_shortcuts' ) )
wp_enqueue_script( 'jquery-table-hotkeys' );
}
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -1356,5 +1356,3 @@ function wp_welcome_panel() {
</div>
<?php
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -1075,5 +1075,3 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
<?php
return false;
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/image-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -664,4 +664,3 @@ function wp_save_image($post_id) {
$return->msg = esc_js( __('Image saved') );
return $return;
}

2 changes: 0 additions & 2 deletions wp-admin/includes/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,3 @@ function wp_import_handle_upload() {

return array( 'file' => $file, 'id' => $id );
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ function get_columns() {
return $this->_columns;
}
}
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,3 @@ function sort_menu($a, $b) {
}

$menu = add_menu_classes($menu);

?>
1 change: 0 additions & 1 deletion wp-admin/includes/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,4 +591,3 @@ function _ipad_meta() {
}
}
add_action('admin_head', '_ipad_meta');

2 changes: 0 additions & 2 deletions wp-admin/includes/ms-deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ function is_wpmu_sitewide_plugin( $file ) {
_deprecated_function(__FUNCTION__, '3.0', 'is_network_only_plugin()' );
return is_network_only_plugin( $file );
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/ms.php
Original file line number Diff line number Diff line change
Expand Up @@ -788,4 +788,3 @@ function wp_is_large_network( $using = 'sites' ) {
$count = get_blog_count();
return apply_filters( 'wp_is_large_network', $count > 10000, 'sites', $count );
}
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/nav-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -1161,5 +1161,3 @@ function _wp_delete_orphaned_draft_menu_items() {
}

add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items');

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1721,5 +1721,3 @@ function settings_fields($option_group) {
echo '<input type="hidden" name="action" value="update" />';
wp_nonce_field("$option_group-options");
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -958,5 +958,3 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam

return true;
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/theme-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,3 @@ function install_theme_information() {
exit;
}
add_action('install_themes_pre_theme-information', 'install_theme_information');

2 changes: 0 additions & 2 deletions wp-admin/includes/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,5 +417,3 @@ function themes_api($action, $args = null) {

return apply_filters('themes_api_result', $res, $action, $args);
}

?>
2 changes: 0 additions & 2 deletions wp-admin/includes/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,5 +304,3 @@ function maintenance_nag() {
echo "<div class='update-nag'>$msg</div>";
}
add_action( 'admin_notices', 'maintenance_nag' );

?>
1 change: 0 additions & 1 deletion wp-admin/includes/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1970,4 +1970,3 @@ function install_global_terms() {
dbDelta( $ms_queries );
}
endif;
?>
2 changes: 0 additions & 2 deletions wp-admin/includes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,5 +343,3 @@ function default_password_nag() {
printf( '<a href="%s" id="default-password-nag-no">' . __('No thanks, do not remind me again') . '</a>', '?default_password_nag=0' );
echo '</p></div>';
}

?>
1 change: 0 additions & 1 deletion wp-admin/includes/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,3 @@ function wp_widget_control( $sidebar_args ) {
echo $sidebar_args['after_widget'];
return $sidebar_args;
}

2 changes: 0 additions & 2 deletions wp-admin/index-extra.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@
break;

}

?>
2 changes: 0 additions & 2 deletions wp-admin/install-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,3 @@ function check_column($table_name, $col_name, $col_type, $is_null = null, $key =
}
return false;
}

?>
1 change: 0 additions & 1 deletion wp-admin/js/editor.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,3 @@ var switchEditors = {
return o.data;
}
}

1 change: 0 additions & 1 deletion wp-admin/js/theme-preview.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ jQuery(document).ready(function($) {
});

});

1 change: 0 additions & 1 deletion wp-admin/link-add.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@
include('./edit-link-form.php');

require('./admin-footer.php');
?>
1 change: 0 additions & 1 deletion wp-admin/link-parse-opml.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ function endElement($parser, $tagName) {

// Free up memory used by the XML parser
xml_parser_free($xml_parser);
?>
1 change: 0 additions & 1 deletion wp-admin/link.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@
default :
break;
}
?>
2 changes: 0 additions & 2 deletions wp-admin/media-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
/** Administration bootstrap */
require_once('./admin.php');
require_once('./media-upload.php');

?>
1 change: 0 additions & 1 deletion wp-admin/media-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@
else
do_action("media_upload_$tab");
}
?>
2 changes: 0 additions & 2 deletions wp-admin/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,3 @@
exit;

endswitch;

?>
2 changes: 0 additions & 2 deletions wp-admin/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,3 @@ function _add_themes_utility_last() {
);

require_once(ABSPATH . 'wp-admin/includes/menu.php');

?>
1 change: 0 additions & 1 deletion wp-admin/moderation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
require_once('../wp-load.php');
wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
exit;
?>
1 change: 0 additions & 1 deletion wp-admin/ms-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@

wp_redirect( network_admin_url() );
exit;
?>
1 change: 0 additions & 1 deletion wp-admin/ms-delete-site.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@
echo '</div>';

include( './admin-footer.php' );
?>
1 change: 0 additions & 1 deletion wp-admin/ms-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@

wp_redirect( network_admin_url() );
exit;
?>
Loading

0 comments on commit e3b46b2

Please sign in to comment.