diff --git a/index.php b/index.php
index 49403ecc2d8a..1e3364ad1b39 100644
--- a/index.php
+++ b/index.php
@@ -15,4 +15,3 @@
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
-?>
\ No newline at end of file
diff --git a/wp-admin/about.php b/wp-admin/about.php
index 1f8fe6cccd41..48cc6bd05705 100644
--- a/wp-admin/about.php
+++ b/wp-admin/about.php
@@ -198,5 +198,3 @@
'Version %1$s addressed some security issues and fixed %2$s bugs.' );
__( 'For more information, see the release notes .' );
-
-?>
\ No newline at end of file
diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php
index 12a57c4d42f7..e7379c4bf45a 100644
--- a/wp-admin/admin-ajax.php
+++ b/wp-admin/admin-ajax.php
@@ -1587,4 +1587,3 @@ function _wp_ajax_add_hierarchical_term() {
die('0');
break;
endswitch;
-?>
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index b8c84fdad706..f59674908931 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -13,4 +13,3 @@
/** WordPress Administration API: Includes all Administration functions. */
require_once(ABSPATH . 'wp-admin/includes/admin.php');
-?>
\ No newline at end of file
diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php
index 5f9eccb542e4..f4af998e334b 100644
--- a/wp-admin/admin-post.php
+++ b/wp-admin/admin-post.php
@@ -29,5 +29,3 @@
$action .= '_' . $_REQUEST['action'];
do_action($action);
-
-?>
\ No newline at end of file
diff --git a/wp-admin/admin.php b/wp-admin/admin.php
index c1a32dd90e8f..d1c09a79edb7 100644
--- a/wp-admin/admin.php
+++ b/wp-admin/admin.php
@@ -228,5 +228,3 @@
if ( !empty($_REQUEST['action']) )
do_action('admin_action_' . $_REQUEST['action']);
-
-?>
diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php
index 1bd267fa52b8..e9d59e225816 100644
--- a/wp-admin/async-upload.php
+++ b/wp-admin/async-upload.php
@@ -66,5 +66,3 @@
$type = $_REQUEST['type'];
echo apply_filters("async_upload_{$type}", $id);
}
-
-?>
diff --git a/wp-admin/comment.php b/wp-admin/comment.php
index b2c69cb75298..a1a7b98a6426 100644
--- a/wp-admin/comment.php
+++ b/wp-admin/comment.php
@@ -295,5 +295,3 @@ function comment_footer_die( $msg ) {
} // end switch
include('./admin-footer.php');
-
-?>
diff --git a/wp-admin/credits.php b/wp-admin/credits.php
index 315593a325dd..786ab462fa5a 100644
--- a/wp-admin/credits.php
+++ b/wp-admin/credits.php
@@ -157,5 +157,3 @@ function _wp_credits_build_object_link( &$data ) {
__( 'Internationalization' );
__( 'External Libraries' );
__( 'Icon Design' );
-
-?>
diff --git a/wp-admin/css/ie-rtl.dev.css b/wp-admin/css/ie-rtl.dev.css
index 78417d7de1ac..be23575dbf4b 100644
--- a/wp-admin/css/ie-rtl.dev.css
+++ b/wp-admin/css/ie-rtl.dev.css
@@ -241,4 +241,3 @@ p.button-controls,
#nav-menus-frame .delete-action {
float: none;
}
-
diff --git a/wp-admin/css/ie.dev.css b/wp-admin/css/ie.dev.css
index 418ffe1cdb31..716d3948c334 100644
--- a/wp-admin/css/ie.dev.css
+++ b/wp-admin/css/ie.dev.css
@@ -547,4 +547,3 @@ table.ie-fixed {
* html #adminmenu div.wp-menu-image {
height: 29px;
}
-
diff --git a/wp-admin/css/install.dev.css b/wp-admin/css/install.dev.css
index cfcd09cf0dab..b7ae1379bbab 100644
--- a/wp-admin/css/install.dev.css
+++ b/wp-admin/css/install.dev.css
@@ -261,4 +261,3 @@ body.rtl {
.rtl #pass2 {
direction: ltr;
}
-
diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
index 168c65e33f5f..1ee1dba35e94 100644
--- a/wp-admin/custom-background.php
+++ b/wp-admin/custom-background.php
@@ -367,4 +367,3 @@ function handle_upload() {
}
}
-?>
diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
index 84d103e0f4ef..a57f529c50d8 100644
--- a/wp-admin/custom-header.php
+++ b/wp-admin/custom-header.php
@@ -796,4 +796,3 @@ function admin_page() {
}
}
-?>
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
index 37116dc6845b..44b2aa57e9bd 100644
--- a/wp-admin/edit-tags.php
+++ b/wp-admin/edit-tags.php
@@ -416,5 +416,3 @@
}
include('./admin-footer.php');
-
-?>
diff --git a/wp-admin/import.php b/wp-admin/import.php
index 9b7c02e1ab86..a9de2654b96e 100644
--- a/wp-admin/import.php
+++ b/wp-admin/import.php
@@ -137,4 +137,3 @@
diff --git a/wp-admin/includes/admin.php b/wp-admin/includes/admin.php
index 5f5190d8d1ba..65b11d1b8742 100644
--- a/wp-admin/includes/admin.php
+++ b/wp-admin/includes/admin.php
@@ -63,5 +63,3 @@
require_once(ABSPATH . 'wp-admin/includes/ms.php');
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
}
-
-?>
diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php
index 0ed560c19139..b3a518501c93 100644
--- a/wp-admin/includes/bookmark.php
+++ b/wp-admin/includes/bookmark.php
@@ -265,5 +265,3 @@ function wp_update_link( $linkdata ) {
return wp_insert_link( $linkdata );
}
-
-?>
diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php
index e3dc4c48b777..4db97c8db965 100644
--- a/wp-admin/includes/class-wp-comments-list-table.php
+++ b/wp-admin/includes/class-wp-comments-list-table.php
@@ -556,5 +556,3 @@ function get_per_page( $comment_status = false ) {
return 10;
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php
index 3d3016acd701..1f22f24182de 100644
--- a/wp-admin/includes/class-wp-filesystem-base.php
+++ b/wp-admin/includes/class-wp-filesystem-base.php
@@ -328,5 +328,3 @@ function is_binary( $text ) {
return (bool) preg_match('|[^\x20-\x7E]|', $text); //chr(32)..chr(127)
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-filesystem-direct.php b/wp-admin/includes/class-wp-filesystem-direct.php
index 2e11c5673104..457f199c3db4 100644
--- a/wp-admin/includes/class-wp-filesystem-direct.php
+++ b/wp-admin/includes/class-wp-filesystem-direct.php
@@ -361,4 +361,3 @@ function dirlist($path, $include_hidden = true, $recursive = false) {
return $ret;
}
}
-?>
diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php
index 79bacfbaa4d7..12280304721c 100644
--- a/wp-admin/includes/class-wp-filesystem-ftpext.php
+++ b/wp-admin/includes/class-wp-filesystem-ftpext.php
@@ -387,5 +387,3 @@ function __destruct() {
ftp_close($this->link);
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php
index 7dae3b773724..2e9fbd69970f 100644
--- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php
+++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php
@@ -327,5 +327,3 @@ function __destruct() {
$this->ftp->quit();
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-links-list-table.php b/wp-admin/includes/class-wp-links-list-table.php
index cbe3ed54a1bb..4776a52f81bc 100644
--- a/wp-admin/includes/class-wp-links-list-table.php
+++ b/wp-admin/includes/class-wp-links-list-table.php
@@ -182,5 +182,3 @@ function display_rows() {
}
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php
index 446174d4dea6..d55eb1c0ec22 100644
--- a/wp-admin/includes/class-wp-list-table.php
+++ b/wp-admin/includes/class-wp-list-table.php
@@ -913,4 +913,3 @@ function _js_vars() {
printf( "\n", json_encode( $args ) );
}
}
-?>
diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php
index 9c63ca326769..089b3a518b9d 100644
--- a/wp-admin/includes/class-wp-media-list-table.php
+++ b/wp-admin/includes/class-wp-media-list-table.php
@@ -392,5 +392,3 @@ function _get_row_actions( $post, $att_title ) {
return $actions;
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-ms-sites-list-table.php b/wp-admin/includes/class-wp-ms-sites-list-table.php
index cfe4cfa5f187..3d72381c7d60 100644
--- a/wp-admin/includes/class-wp-ms-sites-list-table.php
+++ b/wp-admin/includes/class-wp-ms-sites-list-table.php
@@ -337,5 +337,3 @@ function display_rows() {
}
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php
index cd9841da08a4..1109955971b5 100644
--- a/wp-admin/includes/class-wp-ms-themes-list-table.php
+++ b/wp-admin/includes/class-wp-ms-themes-list-table.php
@@ -357,5 +357,3 @@ function single_row( $key, $theme ) {
do_action( "after_theme_row_$theme_key", $theme_key, $theme, $status );
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-ms-users-list-table.php b/wp-admin/includes/class-wp-ms-users-list-table.php
index ec028cee1194..67564fd65000 100644
--- a/wp-admin/includes/class-wp-ms-users-list-table.php
+++ b/wp-admin/includes/class-wp-ms-users-list-table.php
@@ -273,5 +273,3 @@ function display_rows() {
}
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php
index a390e719381e..3b88cf096f9b 100644
--- a/wp-admin/includes/class-wp-plugin-install-list-table.php
+++ b/wp-admin/includes/class-wp-plugin-install-list-table.php
@@ -238,5 +238,3 @@ function display_rows() {
}
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php
index 577750c98e2f..24deb0ba4004 100644
--- a/wp-admin/includes/class-wp-plugins-list-table.php
+++ b/wp-admin/includes/class-wp-plugins-list-table.php
@@ -448,5 +448,3 @@ function single_row( $plugin_file, $plugin_data ) {
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $status );
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index 290939c23f76..0f148fa482e1 100644
--- a/wp-admin/includes/class-wp-posts-list-table.php
+++ b/wp-admin/includes/class-wp-posts-list-table.php
@@ -1050,5 +1050,3 @@ function inline_edit() {
diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php
index 0fc0f825b15c..b398a55c014a 100644
--- a/wp-admin/includes/class-wp-terms-list-table.php
+++ b/wp-admin/includes/class-wp-terms-list-table.php
@@ -378,5 +378,3 @@ function inline_edit() {
diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php
index 66f7797caaed..7fb06f78c131 100644
--- a/wp-admin/includes/class-wp-theme-install-list-table.php
+++ b/wp-admin/includes/class-wp-theme-install-list-table.php
@@ -165,5 +165,3 @@ function display_rows() {
diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php
index 47d51554ef1d..d2186e61c01e 100644
--- a/wp-admin/includes/class-wp-themes-list-table.php
+++ b/wp-admin/includes/class-wp-themes-list-table.php
@@ -218,5 +218,3 @@ function search_theme( $theme ) {
return true;
}
}
-
-?>
diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php
index 8afacd8a229e..adb832147552 100644
--- a/wp-admin/includes/class-wp-users-list-table.php
+++ b/wp-admin/includes/class-wp-users-list-table.php
@@ -316,5 +316,3 @@ function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
return $r;
}
}
-
-?>
diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php
index d731130a5383..8458911575e1 100644
--- a/wp-admin/includes/comment.php
+++ b/wp-admin/includes/comment.php
@@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() {
if ( 'true' == get_user_option( 'comment_shortcuts' ) )
wp_enqueue_script( 'jquery-table-hotkeys' );
}
-?>
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index cdbc5998a809..62715b2eae9d 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -1356,5 +1356,3 @@ function wp_welcome_panel() {
diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php
index b7c6e4bc6582..2954a7c72479 100644
--- a/wp-admin/includes/file.php
+++ b/wp-admin/includes/file.php
@@ -1075,5 +1075,3 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php
index c20b8f74fc50..daf6221b7819 100644
--- a/wp-admin/includes/image-edit.php
+++ b/wp-admin/includes/image-edit.php
@@ -664,4 +664,3 @@ function wp_save_image($post_id) {
$return->msg = esc_js( __('Image saved') );
return $return;
}
-
diff --git a/wp-admin/includes/import.php b/wp-admin/includes/import.php
index f57be766c09a..3713f18b4011 100644
--- a/wp-admin/includes/import.php
+++ b/wp-admin/includes/import.php
@@ -93,5 +93,3 @@ function wp_import_handle_upload() {
return array( 'file' => $file, 'id' => $id );
}
-
-?>
diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php
index 716e80aca9b9..f9785d7ac6a9 100644
--- a/wp-admin/includes/list-table.php
+++ b/wp-admin/includes/list-table.php
@@ -101,4 +101,3 @@ function get_columns() {
return $this->_columns;
}
}
-?>
\ No newline at end of file
diff --git a/wp-admin/includes/menu.php b/wp-admin/includes/menu.php
index 1eae8576c721..14cadfa6f7af 100644
--- a/wp-admin/includes/menu.php
+++ b/wp-admin/includes/menu.php
@@ -227,5 +227,3 @@ function sort_menu($a, $b) {
}
$menu = add_menu_classes($menu);
-
-?>
\ No newline at end of file
diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php
index 7312576ae4b5..68499025c8c9 100644
--- a/wp-admin/includes/misc.php
+++ b/wp-admin/includes/misc.php
@@ -591,4 +591,3 @@ function _ipad_meta() {
}
}
add_action('admin_head', '_ipad_meta');
-
diff --git a/wp-admin/includes/ms-deprecated.php b/wp-admin/includes/ms-deprecated.php
index e7b017bebe2f..aa4bb2dfe794 100644
--- a/wp-admin/includes/ms-deprecated.php
+++ b/wp-admin/includes/ms-deprecated.php
@@ -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 );
}
-
-?>
\ No newline at end of file
diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php
index b9d691a378d0..8d9a67355a1a 100644
--- a/wp-admin/includes/ms.php
+++ b/wp-admin/includes/ms.php
@@ -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 );
}
-?>
diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php
index 0543fa17604d..a11d022b0c02 100644
--- a/wp-admin/includes/nav-menu.php
+++ b/wp-admin/includes/nav-menu.php
@@ -1161,5 +1161,3 @@ function _wp_delete_orphaned_draft_menu_items() {
}
add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items');
-
-?>
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index 322204d50381..0d07b4305deb 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -1721,5 +1721,3 @@ function settings_fields($option_group) {
echo ' ';
wp_nonce_field("$option_group-options");
}
-
-?>
diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php
index d5f522ec1916..d9a9dd344b78 100644
--- a/wp-admin/includes/schema.php
+++ b/wp-admin/includes/schema.php
@@ -958,5 +958,3 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
return true;
}
-
-?>
diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php
index 363a931cd965..911b9097bad4 100644
--- a/wp-admin/includes/theme-install.php
+++ b/wp-admin/includes/theme-install.php
@@ -320,4 +320,3 @@ function install_theme_information() {
exit;
}
add_action('install_themes_pre_theme-information', 'install_theme_information');
-
diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php
index 0af4e74c5c64..5b2cb88cac0b 100644
--- a/wp-admin/includes/theme.php
+++ b/wp-admin/includes/theme.php
@@ -417,5 +417,3 @@ function themes_api($action, $args = null) {
return apply_filters('themes_api_result', $res, $action, $args);
}
-
-?>
diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php
index a5828c186bb4..6445bec508da 100644
--- a/wp-admin/includes/update.php
+++ b/wp-admin/includes/update.php
@@ -304,5 +304,3 @@ function maintenance_nag() {
echo "
$msg
";
}
add_action( 'admin_notices', 'maintenance_nag' );
-
-?>
diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php
index 8e85c9ddb675..f70bd33242f9 100644
--- a/wp-admin/includes/upgrade.php
+++ b/wp-admin/includes/upgrade.php
@@ -1970,4 +1970,3 @@ function install_global_terms() {
dbDelta( $ms_queries );
}
endif;
-?>
diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php
index 99baa9c729b0..e915fa819a23 100644
--- a/wp-admin/includes/user.php
+++ b/wp-admin/includes/user.php
@@ -343,5 +343,3 @@ function default_password_nag() {
printf( '' . __('No thanks, do not remind me again') . ' ', '?default_password_nag=0' );
echo '';
}
-
-?>
diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php
index aed123601988..318cf3f64df4 100644
--- a/wp-admin/includes/widgets.php
+++ b/wp-admin/includes/widgets.php
@@ -222,4 +222,3 @@ function wp_widget_control( $sidebar_args ) {
echo $sidebar_args['after_widget'];
return $sidebar_args;
}
-
diff --git a/wp-admin/index-extra.php b/wp-admin/index-extra.php
index bbaea63e571f..d78bada1f612 100644
--- a/wp-admin/index-extra.php
+++ b/wp-admin/index-extra.php
@@ -36,5 +36,3 @@
break;
}
-
-?>
\ No newline at end of file
diff --git a/wp-admin/install-helper.php b/wp-admin/install-helper.php
index 2970b7cba098..c60e63198392 100644
--- a/wp-admin/install-helper.php
+++ b/wp-admin/install-helper.php
@@ -213,5 +213,3 @@ function check_column($table_name, $col_name, $col_type, $is_null = null, $key =
}
return false;
}
-
-?>
\ No newline at end of file
diff --git a/wp-admin/js/editor.dev.js b/wp-admin/js/editor.dev.js
index 37c792788f44..7c7fdff95d59 100644
--- a/wp-admin/js/editor.dev.js
+++ b/wp-admin/js/editor.dev.js
@@ -203,4 +203,3 @@ var switchEditors = {
return o.data;
}
}
-
diff --git a/wp-admin/js/theme-preview.dev.js b/wp-admin/js/theme-preview.dev.js
index 6ba6542929c3..744278c2664c 100644
--- a/wp-admin/js/theme-preview.dev.js
+++ b/wp-admin/js/theme-preview.dev.js
@@ -61,4 +61,3 @@ jQuery(document).ready(function($) {
});
});
-
diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php
index 9b1cae7c1ec3..737dc9138730 100644
--- a/wp-admin/link-add.php
+++ b/wp-admin/link-add.php
@@ -27,4 +27,3 @@
include('./edit-link-form.php');
require('./admin-footer.php');
-?>
diff --git a/wp-admin/link-parse-opml.php b/wp-admin/link-parse-opml.php
index ccb310917c0d..f24f420d832f 100644
--- a/wp-admin/link-parse-opml.php
+++ b/wp-admin/link-parse-opml.php
@@ -94,4 +94,3 @@ function endElement($parser, $tagName) {
// Free up memory used by the XML parser
xml_parser_free($xml_parser);
-?>
diff --git a/wp-admin/link.php b/wp-admin/link.php
index 922f96cccc41..15ca9889f811 100644
--- a/wp-admin/link.php
+++ b/wp-admin/link.php
@@ -115,4 +115,3 @@
default :
break;
}
-?>
diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php
index a257f9458972..7324d74518fb 100644
--- a/wp-admin/media-new.php
+++ b/wp-admin/media-new.php
@@ -15,5 +15,3 @@
/** Administration bootstrap */
require_once('./admin.php');
require_once('./media-upload.php');
-
-?>
diff --git a/wp-admin/media-upload.php b/wp-admin/media-upload.php
index 666c3f37e252..6952eac93e6c 100644
--- a/wp-admin/media-upload.php
+++ b/wp-admin/media-upload.php
@@ -136,4 +136,3 @@
else
do_action("media_upload_$tab");
}
-?>
diff --git a/wp-admin/media.php b/wp-admin/media.php
index 9876cde7269f..5381865c2aaa 100644
--- a/wp-admin/media.php
+++ b/wp-admin/media.php
@@ -144,5 +144,3 @@
exit;
endswitch;
-
-?>
diff --git a/wp-admin/menu.php b/wp-admin/menu.php
index 050bbd1666a9..cffd59d977cd 100644
--- a/wp-admin/menu.php
+++ b/wp-admin/menu.php
@@ -232,5 +232,3 @@ function _add_themes_utility_last() {
);
require_once(ABSPATH . 'wp-admin/includes/menu.php');
-
-?>
diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php
index d3c9afc55fdf..9129795de6a3 100644
--- a/wp-admin/moderation.php
+++ b/wp-admin/moderation.php
@@ -10,4 +10,3 @@
require_once('../wp-load.php');
wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
exit;
-?>
diff --git a/wp-admin/ms-admin.php b/wp-admin/ms-admin.php
index 5ebb14c24b8c..fe5e19bc87e1 100644
--- a/wp-admin/ms-admin.php
+++ b/wp-admin/ms-admin.php
@@ -11,4 +11,3 @@
wp_redirect( network_admin_url() );
exit;
-?>
diff --git a/wp-admin/ms-delete-site.php b/wp-admin/ms-delete-site.php
index 2ae22339b73b..95f0aa091d3b 100644
--- a/wp-admin/ms-delete-site.php
+++ b/wp-admin/ms-delete-site.php
@@ -80,4 +80,3 @@
echo '';
include( './admin-footer.php' );
-?>
diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php
index 6c0e04fe5dab..6e56e026a920 100644
--- a/wp-admin/ms-edit.php
+++ b/wp-admin/ms-edit.php
@@ -11,4 +11,3 @@
wp_redirect( network_admin_url() );
exit;
-?>
diff --git a/wp-admin/ms-sites.php b/wp-admin/ms-sites.php
index 9b788e3c9723..00502c915ae2 100644
--- a/wp-admin/ms-sites.php
+++ b/wp-admin/ms-sites.php
@@ -11,5 +11,3 @@
wp_redirect( network_admin_url('sites.php') );
exit;
-
-?>
diff --git a/wp-admin/ms-themes.php b/wp-admin/ms-themes.php
index ad54efe2e5c9..ad873babb482 100644
--- a/wp-admin/ms-themes.php
+++ b/wp-admin/ms-themes.php
@@ -11,4 +11,3 @@
wp_redirect( network_admin_url('themes.php') );
exit;
-?>
diff --git a/wp-admin/ms-upgrade-network.php b/wp-admin/ms-upgrade-network.php
index 0a4ea56ab101..3d36a2cc59f3 100644
--- a/wp-admin/ms-upgrade-network.php
+++ b/wp-admin/ms-upgrade-network.php
@@ -11,5 +11,3 @@
wp_redirect( network_admin_url('upgrade.php') );
exit;
-
-?>
diff --git a/wp-admin/ms-users.php b/wp-admin/ms-users.php
index 5b4f1c52b24e..a3be929ac7cc 100644
--- a/wp-admin/ms-users.php
+++ b/wp-admin/ms-users.php
@@ -11,4 +11,3 @@
wp_redirect( network_admin_url('users.php') );
exit;
-?>
diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php
index 873b03cf9543..2ef4ca77e81b 100644
--- a/wp-admin/my-sites.php
+++ b/wp-admin/my-sites.php
@@ -118,4 +118,3 @@
diff --git a/wp-admin/network/admin.php b/wp-admin/network/admin.php
index dfa37681abd1..01e6ea70c987 100644
--- a/wp-admin/network/admin.php
+++ b/wp-admin/network/admin.php
@@ -22,4 +22,3 @@
exit;
}
unset( $redirect_network_admin_request );
-?>
diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php
index 5ccba2a0c7c8..e76f25878c9c 100644
--- a/wp-admin/network/edit.php
+++ b/wp-admin/network/edit.php
@@ -25,5 +25,3 @@
wp_redirect( network_admin_url() );
exit();
-
-?>
diff --git a/wp-admin/network/menu.php b/wp-admin/network/menu.php
index ed611b7f65ea..a35a2802e78e 100644
--- a/wp-admin/network/menu.php
+++ b/wp-admin/network/menu.php
@@ -61,5 +61,3 @@
$menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
require_once(ABSPATH . 'wp-admin/includes/menu.php');
-
-?>
diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php
index 3abcca1a4b21..2628ac1391f1 100644
--- a/wp-admin/network/site-new.php
+++ b/wp-admin/network/site-new.php
@@ -148,4 +148,3 @@
diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php
index 88cc6cbc7fa3..204491451276 100644
--- a/wp-admin/network/user-new.php
+++ b/wp-admin/network/user-new.php
@@ -105,4 +105,3 @@
diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php
index 7f2cc74d0874..066caafbbe47 100644
--- a/wp-admin/options-head.php
+++ b/wp-admin/options-head.php
@@ -17,5 +17,3 @@
}
settings_errors();
-
-?>
\ No newline at end of file
diff --git a/wp-admin/options.php b/wp-admin/options.php
index adcdb6441258..e141995cef94 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -223,4 +223,3 @@
diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php
index 374497bb6d3f..d341541ce3f0 100644
--- a/wp-admin/plugin-install.php
+++ b/wp-admin/plugin-install.php
@@ -69,4 +69,3 @@
ID;
include('edit-form-advanced.php');
include('./admin-footer.php');
-?>
diff --git a/wp-admin/post.php b/wp-admin/post.php
index c3bca7020f3c..e1119ce644b7 100644
--- a/wp-admin/post.php
+++ b/wp-admin/post.php
@@ -262,4 +262,3 @@ function redirect_post($post_id = '') {
break;
} // end switch
include('./admin-footer.php');
-?>
diff --git a/wp-admin/profile.php b/wp-admin/profile.php
index 71a1b0466ffe..c5021f169e04 100644
--- a/wp-admin/profile.php
+++ b/wp-admin/profile.php
@@ -16,4 +16,3 @@
/** Load User Editing Page */
require_once('./user-edit.php');
-?>
diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php
index 333ac44f0108..9f70deb75d92 100644
--- a/wp-admin/theme-install.php
+++ b/wp-admin/theme-install.php
@@ -75,4 +75,3 @@
diff --git a/wp-admin/upgrade-functions.php b/wp-admin/upgrade-functions.php
index ca14a59c83b0..080d74d7c5a3 100644
--- a/wp-admin/upgrade-functions.php
+++ b/wp-admin/upgrade-functions.php
@@ -10,4 +10,3 @@
_deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/upgrade.php' );
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
-?>
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
index 953c14883355..4fabfb9dcc1c 100644
--- a/wp-admin/user-edit.php
+++ b/wp-admin/user-edit.php
@@ -430,4 +430,3 @@ function use_ssl_preference($user) {
diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php
index 282b0c960b83..52db314108d1 100644
--- a/wp-admin/user-new.php
+++ b/wp-admin/user-new.php
@@ -373,4 +373,3 @@ function admin_created_user_subject( $text ) {
diff --git a/wp-admin/user/admin.php b/wp-admin/user/admin.php
index 02173fe3d348..25691c866a60 100644
--- a/wp-admin/user/admin.php
+++ b/wp-admin/user/admin.php
@@ -23,5 +23,3 @@
exit;
}
unset( $redirect_user_admin_request );
-
-?>
diff --git a/wp-admin/user/menu.php b/wp-admin/user/menu.php
index 5f9e4f6482b4..9f30076bd4f1 100644
--- a/wp-admin/user/menu.php
+++ b/wp-admin/user/menu.php
@@ -20,5 +20,3 @@
$submenu = array();
require_once(ABSPATH . 'wp-admin/includes/menu.php');
-
-?>
diff --git a/wp-app.php b/wp-app.php
index e75726e04ebf..d84b58aea790 100644
--- a/wp-app.php
+++ b/wp-app.php
@@ -1608,5 +1608,3 @@ function get_publish_time($published) {
*/
$server = new AtomServer();
$server->handle_request();
-
-?>
diff --git a/wp-blog-header.php b/wp-blog-header.php
index 0f7118f3c164..3e1b8ef56013 100644
--- a/wp-blog-header.php
+++ b/wp-blog-header.php
@@ -16,5 +16,3 @@
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
-
-?>
\ No newline at end of file
diff --git a/wp-comments-post.php b/wp-comments-post.php
index 735ae82306c7..66ae3302d5f2 100644
--- a/wp-comments-post.php
+++ b/wp-comments-post.php
@@ -97,4 +97,3 @@
wp_redirect($location);
exit;
-?>
diff --git a/wp-content/index.php b/wp-content/index.php
index 4e6c07c7ee16..62200328fddc 100644
--- a/wp-content/index.php
+++ b/wp-content/index.php
@@ -1,3 +1,2 @@
\ No newline at end of file
diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php
index e27f1ae8529e..5aacd797343c 100644
--- a/wp-includes/admin-bar.php
+++ b/wp-includes/admin-bar.php
@@ -741,5 +741,3 @@ function _get_admin_bar_pref( $context = 'front', $user = 0 ) {
return 'true' === $pref;
}
-
-?>
diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php
index e75ca394a3f3..c6f2f24750d7 100644
--- a/wp-includes/atomlib.php
+++ b/wp-includes/atomlib.php
@@ -350,5 +350,3 @@ function xml_escape($string)
$string );
}
}
-
-?>
diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php
index 4b21e446e345..c9c8dfad9d3c 100644
--- a/wp-includes/author-template.php
+++ b/wp-includes/author-template.php
@@ -397,5 +397,3 @@ function __clear_multi_author_cache() {
wp_cache_delete('is_multi_author', 'posts');
}
add_action('transition_post_status', '__clear_multi_author_cache');
-
-?>
diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php
index 7c5949cc2174..2dc5b7b2e3e3 100644
--- a/wp-includes/bookmark-template.php
+++ b/wp-includes/bookmark-template.php
@@ -252,5 +252,3 @@ function wp_list_bookmarks($args = '') {
return $output;
echo $output;
}
-
-?>
diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php
index 81570669f472..0c0c4c78190b 100644
--- a/wp-includes/bookmark.php
+++ b/wp-includes/bookmark.php
@@ -379,5 +379,3 @@ function clean_bookmark_cache($bookmark_id) {
wp_cache_delete( $bookmark_id, 'bookmark' );
wp_cache_delete( 'get_bookmarks', 'bookmark' );
}
-
-?>
diff --git a/wp-includes/cache.php b/wp-includes/cache.php
index 47f6ce1673c1..8e8c91055be7 100644
--- a/wp-includes/cache.php
+++ b/wp-includes/cache.php
@@ -553,4 +553,3 @@ function __destruct() {
return true;
}
}
-?>
diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php
index 2e1e8fb677a0..0b79e5afb176 100644
--- a/wp-includes/canonical.php
+++ b/wp-includes/canonical.php
@@ -450,5 +450,3 @@ function redirect_guess_404_permalink() {
}
add_action('template_redirect', 'redirect_canonical');
-
-?>
diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php
index 53e35820bcc8..c8d58b9303be 100644
--- a/wp-includes/capabilities.php
+++ b/wp-includes/capabilities.php
@@ -1370,5 +1370,3 @@ function is_super_admin( $user_id = false ) {
return false;
}
-
-?>
diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php
index 557d2c1781b7..8c09087e6ea9 100644
--- a/wp-includes/category-template.php
+++ b/wp-includes/category-template.php
@@ -1212,5 +1212,3 @@ function has_term( $term = '', $taxonomy = '', $post = null ) {
return $r;
}
-
-?>
diff --git a/wp-includes/category.php b/wp-includes/category.php
index 5bbf1dd8d08a..17283d01a918 100644
--- a/wp-includes/category.php
+++ b/wp-includes/category.php
@@ -334,5 +334,3 @@ function _make_cat_compat( &$category ) {
$category['category_parent'] = &$category['parent'];
}
}
-
-?>
diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php
index 9d89f0c58d74..64a60d46b31e 100644
--- a/wp-includes/class-IXR.php
+++ b/wp-includes/class-IXR.php
@@ -1061,5 +1061,3 @@ function query()
return parent::query('system.multicall', $this->calls);
}
}
-
-?>
diff --git a/wp-includes/class-json.php b/wp-includes/class-json.php
index 75010df2070c..58f6f7de2863 100644
--- a/wp-includes/class-json.php
+++ b/wp-includes/class-json.php
@@ -860,4 +860,3 @@ function Services_JSON_Error($message = 'unknown error', $code = null,
}
endif;
-?>
diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php
index f79772caedae..9b4672022917 100644
--- a/wp-includes/class-oembed.php
+++ b/wp-includes/class-oembed.php
@@ -291,5 +291,3 @@ function &_wp_oembed_get_object() {
return $wp_oembed;
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/class-wp-admin-bar.php b/wp-includes/class-wp-admin-bar.php
index 1b8f8b33911e..a7c062e4befd 100644
--- a/wp-includes/class-wp-admin-bar.php
+++ b/wp-includes/class-wp-admin-bar.php
@@ -471,4 +471,3 @@ public function add_menus() {
do_action( 'add_admin_bar_menus' );
}
}
-?>
diff --git a/wp-includes/class-wp-ajax-response.php b/wp-includes/class-wp-ajax-response.php
index 9c225c116ab9..2b981b0b14e7 100644
--- a/wp-includes/class-wp-ajax-response.php
+++ b/wp-includes/class-wp-ajax-response.php
@@ -134,5 +134,3 @@ function send() {
die();
}
}
-
-?>
diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php
index f08c2c08b555..f057f5f47a3d 100644
--- a/wp-includes/class-wp-editor.php
+++ b/wp-includes/class-wp-editor.php
@@ -796,4 +796,3 @@ public static function wp_link_dialog() {
\ No newline at end of file
diff --git a/wp-includes/class-wp-http-ixr-client.php b/wp-includes/class-wp-http-ixr-client.php
index 9e202ed63cc7..736fc5a223b6 100644
--- a/wp-includes/class-wp-http-ixr-client.php
+++ b/wp-includes/class-wp-http-ixr-client.php
@@ -90,4 +90,3 @@ function query() {
return true;
}
}
-?>
diff --git a/wp-includes/class-wp-walker.php b/wp-includes/class-wp-walker.php
index 5eac6e12abb1..5478da90d8a7 100644
--- a/wp-includes/class-wp-walker.php
+++ b/wp-includes/class-wp-walker.php
@@ -395,5 +395,3 @@ function unset_children( $e, &$children_elements ){
}
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php
index 9806aafea499..be6ef4d185e6 100644
--- a/wp-includes/class-wp-xmlrpc-server.php
+++ b/wp-includes/class-wp-xmlrpc-server.php
@@ -3621,4 +3621,3 @@ function pingback_extensions_getPingbacks($args) {
return $pingbacks;
}
}
-?>
diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php
index 0e2c33e798e7..e183f8e4c8d1 100644
--- a/wp-includes/class-wp.php
+++ b/wp-includes/class-wp.php
@@ -601,5 +601,3 @@ function callback($matches) {
}
}
-
-?>
diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php
index 6455fe47375d..48e8f7ef1d8f 100644
--- a/wp-includes/class.wp-styles.php
+++ b/wp-includes/class.wp-styles.php
@@ -168,4 +168,3 @@ function reset() {
$this->print_html = '';
}
}
-
diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php
index 09a733501597..e135717f85d9 100644
--- a/wp-includes/comment-template.php
+++ b/wp-includes/comment-template.php
@@ -1588,5 +1588,3 @@ function comment_form( $args = array(), $post_id = null ) {
diff --git a/wp-includes/comment.php b/wp-includes/comment.php
index 7575831c54de..cddf0be2ede5 100644
--- a/wp-includes/comment.php
+++ b/wp-includes/comment.php
@@ -2026,5 +2026,3 @@ function _close_comments_for_old_post( $open, $post_id ) {
return $open;
}
-
-?>
diff --git a/wp-includes/css/editor-buttons.dev.css b/wp-includes/css/editor-buttons.dev.css
index 55a9130bfe2b..ce4df01c7397 100644
--- a/wp-includes/css/editor-buttons.dev.css
+++ b/wp-includes/css/editor-buttons.dev.css
@@ -1614,4 +1614,3 @@ RTL
.clearlooks2 .mceFocus .mceTop span {
color: #e5e5e5;
}
-
diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php
index fa7f92f58a09..ebdaa21d412c 100644
--- a/wp-includes/default-constants.php
+++ b/wp-includes/default-constants.php
@@ -304,5 +304,3 @@ function wp_templating_constants( ) {
define( 'WP_DEFAULT_THEME', 'twentyeleven' );
}
-
-?>
diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php
index c17f280c1e56..eade3518422f 100644
--- a/wp-includes/default-filters.php
+++ b/wp-includes/default-filters.php
@@ -284,5 +284,3 @@
add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
unset($filter, $action);
-
-?>
diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php
index 32720c9dc5ef..f60d75b82d8a 100644
--- a/wp-includes/formatting.php
+++ b/wp-includes/formatting.php
@@ -3020,5 +3020,3 @@ function sanitize_trackback_urls( $to_ping ) {
$urls_to_ping = implode( "\n", $urls_to_ping );
return apply_filters( 'sanitize_trackback_urls', $urls_to_ping, $to_ping );
}
-
-?>
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 761ac8de5c6f..e7c8d447caf9 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -3654,5 +3654,3 @@ function wp_allowed_protocols() {
return $protocols;
}
-
-?>
diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php
index 1bc0624a00c1..8fe0aacdf3f4 100644
--- a/wp-includes/general-template.php
+++ b/wp-includes/general-template.php
@@ -2282,5 +2282,3 @@ function __checked_selected_helper( $helper, $current, $echo, $type ) {
return $result;
}
-
-?>
diff --git a/wp-includes/js/admin-bar.dev.js b/wp-includes/js/admin-bar.dev.js
index 57f4a854b185..5191fc584369 100644
--- a/wp-includes/js/admin-bar.dev.js
+++ b/wp-includes/js/admin-bar.dev.js
@@ -206,4 +206,3 @@ if ( typeof(jQuery) != 'undefined' ) {
})(document, window);
}
-
diff --git a/wp-includes/js/jquery/jquery.form.dev.js b/wp-includes/js/jquery/jquery.form.dev.js
index 006580752e26..d0cb23c238bd 100644
--- a/wp-includes/js/jquery/jquery.form.dev.js
+++ b/wp-includes/js/jquery/jquery.form.dev.js
@@ -823,4 +823,3 @@ function log() {
};
})(jQuery);
-
diff --git a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js
index c897a601c70f..f2d6c2e42a05 100644
--- a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js
+++ b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js
@@ -406,4 +406,3 @@
// Register plugin
tinymce.PluginManager.add('wordpress', tinymce.plugins.WordPress);
})();
-
diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css b/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css
index 323591d91d95..e2ff8dac5c4a 100644
--- a/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css
+++ b/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css
@@ -356,4 +356,3 @@ div#media-upload-error {
background-color: #222222;
color: #CFCFCF;
}
-
diff --git a/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css b/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
index 065a00457cfe..ab2d89880f15 100644
--- a/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
+++ b/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css
@@ -93,4 +93,3 @@ td {
font-size: 11px;
margin: 8px;
}
-
diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index 6f62ca398797..09e408cc7c35 100644
--- a/wp-includes/link-template.php
+++ b/wp-includes/link-template.php
@@ -2373,5 +2373,3 @@ function the_shortlink( $text = '', $title = '', $before = '', $after = '' ) {
echo $before, $link, $after;
}
}
-
-?>
diff --git a/wp-includes/load.php b/wp-includes/load.php
index 61dab0e358d0..d02e08d555be 100644
--- a/wp-includes/load.php
+++ b/wp-includes/load.php
@@ -649,5 +649,3 @@ function is_multisite() {
return false;
}
-
-?>
diff --git a/wp-includes/locale.php b/wp-includes/locale.php
index 1d1c303af4f7..81f6c0466d2c 100644
--- a/wp-includes/locale.php
+++ b/wp-includes/locale.php
@@ -347,5 +347,3 @@ function is_rtl() {
global $wp_locale;
return $wp_locale->is_rtl();
}
-
-?>
diff --git a/wp-includes/media.php b/wp-includes/media.php
index fdba4ee0c337..89a3f36bdd62 100644
--- a/wp-includes/media.php
+++ b/wp-includes/media.php
@@ -1441,5 +1441,3 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
return apply_filters( 'embed_googlevideo', ' ', $matches, $attr, $url, $rawattr );
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/meta.php b/wp-includes/meta.php
index c40ef1d9829f..3caa80817785 100644
--- a/wp-includes/meta.php
+++ b/wp-includes/meta.php
@@ -861,5 +861,3 @@ function register_meta( $meta_type, $meta_key, $sanitize_callback, $auth_callbac
if ( is_callable( $auth_callback ) )
add_filter( "auth_{$meta_type}_meta_{$meta_key}", $auth_callback, 10, 6 );
}
-
-?>
diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php
index 0bd6a92b858a..e9118cfe5258 100644
--- a/wp-includes/ms-blogs.php
+++ b/wp-includes/ms-blogs.php
@@ -708,5 +708,3 @@ function _update_blog_date_on_post_publish( $new_status, $old_status, $post ) {
wpmu_update_blogs_date();
}
-
-?>
diff --git a/wp-includes/ms-default-constants.php b/wp-includes/ms-default-constants.php
index 12dc661a37b5..cc341b140ca0 100644
--- a/wp-includes/ms-default-constants.php
+++ b/wp-includes/ms-default-constants.php
@@ -136,5 +136,3 @@ function ms_subdomain_constants() {
}
}
add_action( 'init', 'ms_subdomain_constants' );
-
-?>
diff --git a/wp-includes/ms-default-filters.php b/wp-includes/ms-default-filters.php
index 9e42f62d215d..3922d3e13e85 100644
--- a/wp-includes/ms-default-filters.php
+++ b/wp-includes/ms-default-filters.php
@@ -60,5 +60,3 @@
// WP_HOME and WP_SITEURL should not have any effect in MS
remove_filter( 'option_siteurl', '_config_wp_siteurl' );
remove_filter( 'option_home', '_config_wp_home' );
-
-?>
diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php
index 9b910b72e0aa..6cc6bc28b9cd 100644
--- a/wp-includes/ms-deprecated.php
+++ b/wp-includes/ms-deprecated.php
@@ -270,5 +270,3 @@ function wpmu_admin_redirect_add_updated_param( $url = '' ) {
}
return $url;
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php
index e7ab0a4cccae..100ba2c6d19b 100644
--- a/wp-includes/ms-files.php
+++ b/wp-includes/ms-files.php
@@ -80,4 +80,3 @@
// If we made it this far, just serve the file
readfile( $file );
-?>
diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php
index 9dc11cc97009..23045be22605 100644
--- a/wp-includes/ms-functions.php
+++ b/wp-includes/ms-functions.php
@@ -1980,5 +1980,3 @@ function wp_update_network_counts() {
$count = $wpdb->get_var( $wpdb->prepare("SELECT COUNT(ID) as c FROM $wpdb->users WHERE spam = '0' AND deleted = '0'") );
update_site_option( 'user_count', $count );
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php
index 5ff0526fdf59..c55832ff43c7 100644
--- a/wp-includes/ms-load.php
+++ b/wp-includes/ms-load.php
@@ -250,5 +250,3 @@ function ms_not_installed() {
wp_die( $msg, $title );
}
-
-?>
\ No newline at end of file
diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php
index f8098e03f57a..361a8de60027 100644
--- a/wp-includes/nav-menu.php
+++ b/wp-includes/nav-menu.php
@@ -782,5 +782,3 @@ function _wp_auto_add_pages_to_menu( $new_status, $old_status, $post ) {
wp_update_nav_menu_item( $menu_id, 0, $args );
}
}
-
-?>
diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php
index 577e8196d483..914d70654ca3 100644
--- a/wp-includes/plugin.php
+++ b/wp-includes/plugin.php
@@ -782,5 +782,3 @@ function _wp_filter_build_unique_id($tag, $function, $priority) {
return $function[0].$function[1];
}
}
-
-?>
diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php
index f35d23dc97b1..ec65433fd3c8 100644
--- a/wp-includes/post-thumbnail-template.php
+++ b/wp-includes/post-thumbnail-template.php
@@ -100,5 +100,3 @@ function get_the_post_thumbnail( $post_id = null, $size = 'post-thumbnail', $att
}
return apply_filters( 'post_thumbnail_html', $html, $post_id, $post_thumbnail_id, $size, $attr );
}
-
-?>
diff --git a/wp-includes/post.php b/wp-includes/post.php
index 6e53d33af0aa..1505a816f927 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -5326,4 +5326,3 @@ function _update_term_count_on_transition_post_status( $new_status, $old_status,
wp_update_term_count( $tt_ids, $taxonomy );
}
}
-?>
diff --git a/wp-includes/query.php b/wp-includes/query.php
index 31a98445e6c2..90186cf24eb7 100644
--- a/wp-includes/query.php
+++ b/wp-includes/query.php
@@ -3591,4 +3591,3 @@ function setup_postdata($post) {
return true;
}
-?>
diff --git a/wp-includes/registration-functions.php b/wp-includes/registration-functions.php
index 889919de09cc..9fee68601d24 100644
--- a/wp-includes/registration-functions.php
+++ b/wp-includes/registration-functions.php
@@ -5,4 +5,3 @@
* @package WordPress
*/
_deprecated_file( basename(__FILE__), '2.1', null, __( 'This file no longer needs to be included.' ) );
-?>
\ No newline at end of file
diff --git a/wp-includes/registration.php b/wp-includes/registration.php
index 07d919c6d445..a0ffabf9fcd6 100644
--- a/wp-includes/registration.php
+++ b/wp-includes/registration.php
@@ -5,4 +5,3 @@
* @package WordPress
*/
_deprecated_file( basename(__FILE__), '3.1', null, __( 'This file no longer needs to be included.' ) );
-?>
\ No newline at end of file
diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php
index 4b2e33074866..235416699167 100644
--- a/wp-includes/rewrite.php
+++ b/wp-includes/rewrite.php
@@ -1970,5 +1970,3 @@ function __construct() {
$this->init();
}
}
-
-?>
diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php
index d8b2b8dc3f3e..86458479df00 100644
--- a/wp-includes/rss-functions.php
+++ b/wp-includes/rss-functions.php
@@ -7,4 +7,3 @@
_deprecated_file( basename(__FILE__), '2.1', WPINC . '/rss.php' );
require_once (ABSPATH . WPINC . '/rss.php');
-?>
diff --git a/wp-includes/rss.php b/wp-includes/rss.php
index 479315e23493..0d9493768590 100644
--- a/wp-includes/rss.php
+++ b/wp-includes/rss.php
@@ -930,5 +930,3 @@ function get_rss ($url, $num_items = 5) { // Like get posts, but for RSS
}
}
endif;
-
-?>
diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php
index 2d83ab64dcef..1b860d2766df 100644
--- a/wp-includes/shortcodes.php
+++ b/wp-includes/shortcodes.php
@@ -332,5 +332,3 @@ function strip_shortcode_tag( $m ) {
}
add_filter('the_content', 'do_shortcode', 11); // AFTER wpautop()
-
-?>
diff --git a/wp-includes/template-loader.php b/wp-includes/template-loader.php
index 7c72a05e13c4..fdf75f15ecd6 100644
--- a/wp-includes/template-loader.php
+++ b/wp-includes/template-loader.php
@@ -43,5 +43,3 @@
include( $template );
return;
endif;
-
-?>
diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php
index c703949c1965..7c0939b6b8cf 100644
--- a/wp-includes/theme-compat/sidebar.php
+++ b/wp-includes/theme-compat/sidebar.php
@@ -81,4 +81,3 @@
-
diff --git a/wp-includes/update.php b/wp-includes/update.php
index 2e6470b8a0b4..284448dc76da 100644
--- a/wp-includes/update.php
+++ b/wp-includes/update.php
@@ -451,5 +451,3 @@ function wp_schedule_update_checks() {
add_action( 'wp_update_themes', 'wp_update_themes' );
add_action('init', 'wp_schedule_update_checks');
-
-?>
diff --git a/wp-includes/user.php b/wp-includes/user.php
index 626292cb0419..8d0de2f68cfa 100644
--- a/wp-includes/user.php
+++ b/wp-includes/user.php
@@ -1490,5 +1490,3 @@ function _wp_get_user_contactmethods( $user = null ) {
);
return apply_filters( 'user_contactmethods', $user_contactmethods, $user );
}
-
-?>
diff --git a/wp-includes/vars.php b/wp-includes/vars.php
index 3b824a959ab2..e444210b63a2 100644
--- a/wp-includes/vars.php
+++ b/wp-includes/vars.php
@@ -97,5 +97,3 @@
* @global bool $is_iis7
*/
$is_iis7 = $is_IIS && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/7.') !== false);
-
-?>
diff --git a/wp-includes/wlwmanifest.xml b/wp-includes/wlwmanifest.xml
index eb1314733049..98504ee4070c 100644
--- a/wp-includes/wlwmanifest.xml
+++ b/wp-includes/wlwmanifest.xml
@@ -41,4 +41,3 @@
-
diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php
index 1a2a39e73a7d..515156f64de3 100644
--- a/wp-includes/wp-db.php
+++ b/wp-includes/wp-db.php
@@ -1565,5 +1565,3 @@ function db_version() {
return preg_replace( '/[^0-9.].*/', '', mysql_get_server_info( $this->dbh ) );
}
}
-
-?>
diff --git a/wp-includes/wp-diff.php b/wp-includes/wp-diff.php
index 95ff763640b6..052bf133458f 100644
--- a/wp-includes/wp-diff.php
+++ b/wp-includes/wp-diff.php
@@ -470,5 +470,3 @@ function _splitOnWords($string, $newlineEscape = "\n") {
}
}
-
-?>
diff --git a/wp-load.php b/wp-load.php
index 9afeacd234cc..5878310afd47 100644
--- a/wp-load.php
+++ b/wp-load.php
@@ -57,5 +57,3 @@
wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a wp-config.php
file. I need this before we can get started.
Need more help? We got it .
You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.
Create a Configuration File
"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress › Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
}
-
-?>
\ No newline at end of file
diff --git a/wp-login.php b/wp-login.php
index 607c678d0ad7..97e5d48ed0d3 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -689,4 +689,3 @@ function wp_attempt_focus(){
login_footer();
break;
} // end action switch
-?>
diff --git a/wp-mail.php b/wp-mail.php
index 520e771819f4..b75e3bb26b68 100644
--- a/wp-mail.php
+++ b/wp-mail.php
@@ -232,5 +232,3 @@
}
$pop3->quit();
-
-?>
diff --git a/wp-pass.php b/wp-pass.php
index 556deab9c64c..6cb2a6d8ffed 100644
--- a/wp-pass.php
+++ b/wp-pass.php
@@ -14,4 +14,3 @@
wp_safe_redirect(wp_get_referer());
exit;
-?>
diff --git a/wp-register.php b/wp-register.php
index 0b1a769764f5..a9062e0d563e 100644
--- a/wp-register.php
+++ b/wp-register.php
@@ -12,4 +12,3 @@
require('./wp-load.php');
wp_redirect( site_url('wp-login.php?action=register') );
exit;
-?>
diff --git a/wp-settings.php b/wp-settings.php
index 2d803753173d..59c9e7c5d08f 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -322,4 +322,3 @@
* @since 3.0.0
*/
do_action('wp_loaded');
-?>
diff --git a/wp-trackback.php b/wp-trackback.php
index 737fbcecd5d1..06e47507be22 100644
--- a/wp-trackback.php
+++ b/wp-trackback.php
@@ -108,4 +108,3 @@ function trackback_response($error = 0, $error_message = '') {
do_action('trackback_post', $wpdb->insert_id);
trackback_response(0);
}
-?>
\ No newline at end of file
diff --git a/xmlrpc.php b/xmlrpc.php
index ff7bfcde9e54..e4dafe792912 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -107,4 +107,3 @@ function logIO($io,$msg) {
// Fire off the request
$wp_xmlrpc_server->serve_request();
-?>
\ No newline at end of file