diff --git a/index.php b/index.php index 49403ecc2d..1e3364ad1b 100644 --- a/index.php +++ b/index.php @@ -15,4 +15,3 @@ define('WP_USE_THEMES', true); /** 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 1f8fe6cccd..48cc6bd057 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -198,5 +198,3 @@ _n_noop( 'Version %1$s addressed some security issues and fixed '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 12a57c4d42..e7379c4bf4 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -1587,4 +1587,3 @@ default : die('0'); break; endswitch; -?> diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index b8c84fdad7..f596749089 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -13,4 +13,3 @@ _deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/admin.php' ); /** 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 5f9eccb542..f4af998e33 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -29,5 +29,3 @@ if ( !empty($_REQUEST['action']) ) $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 c1a32dd90e..d1c09a79ed 100644 --- a/wp-admin/admin.php +++ b/wp-admin/admin.php @@ -228,5 +228,3 @@ if ( isset($plugin_page) ) { 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 1bd267fa52..e9d59e2258 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -66,5 +66,3 @@ if ( $_REQUEST['short'] ) { $type = $_REQUEST['type']; echo apply_filters("async_upload_{$type}", $id); } - -?> diff --git a/wp-admin/comment.php b/wp-admin/comment.php index b2c69cb752..a1a7b98a64 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -295,5 +295,3 @@ default: } // end switch include('./admin-footer.php'); - -?> diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 315593a325..786ab462fa 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -157,5 +157,3 @@ __( 'XML-RPC' ); __( 'Internationalization' ); __( 'External Libraries' ); __( 'Icon Design' ); - -?> diff --git a/wp-admin/css/ie-rtl.dev.css b/wp-admin/css/ie-rtl.dev.css index 78417d7de1..be23575dbf 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 418ffe1cdb..716d3948c3 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 cfcd09cf0d..b7ae1379bb 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 168c65e33f..1ee1dba35e 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -367,4 +367,3 @@ if ( get_background_image() ) { } } -?> diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 84d103e0f4..a57f529c50 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -796,4 +796,3 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> } } -?> diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 37116dc684..44b2aa57e9 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -416,5 +416,3 @@ break; } include('./admin-footer.php'); - -?> diff --git a/wp-admin/import.php b/wp-admin/import.php index 9b7c02e1ab..a9de2654b9 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -137,4 +137,3 @@ if ( current_user_can('install_plugins') ) diff --git a/wp-admin/includes/admin.php b/wp-admin/includes/admin.php index 5f5190d8d1..65b11d1b87 100644 --- a/wp-admin/includes/admin.php +++ b/wp-admin/includes/admin.php @@ -63,5 +63,3 @@ if ( is_multisite() ) { 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 0ed560c191..b3a518501c 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 e3dc4c48b7..4db97c8db9 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 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table { return 10; } } - -?> diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index 3d3016acd7..1f22f24182 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -328,5 +328,3 @@ class WP_Filesystem_Base { 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 2e11c56731..457f199c3d 100644 --- a/wp-admin/includes/class-wp-filesystem-direct.php +++ b/wp-admin/includes/class-wp-filesystem-direct.php @@ -361,4 +361,3 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base { return $ret; } } -?> diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index 79bacfbaa4..1228030472 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -387,5 +387,3 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { 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 7dae3b7737..2e9fbd6997 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -327,5 +327,3 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { $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 cbe3ed54a1..4776a52f81 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 @@ class WP_Links_List_Table extends WP_List_Table { } } } - -?> diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 446174d4de..d55eb1c0ec 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -913,4 +913,3 @@ class WP_List_Table { 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 9c63ca3267..089b3a518b 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 @@ foreach ( $columns as $column_name => $column_display_name ) { 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 cfe4cfa5f1..3d72381c7d 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 @@ class WP_MS_Sites_List_Table extends WP_List_Table { } } } - -?> 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 cd9841da08..1109955971 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 @@ class WP_MS_Themes_List_Table extends WP_List_Table { 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 ec028cee11..67564fd650 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 @@ class WP_MS_Users_List_Table extends WP_List_Table { } } } - -?> 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 a390e71938..3b88cf096f 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 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } } } - -?> diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index 577750c98e..24deb0ba40 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 @@ class WP_Plugins_List_Table extends WP_List_Table { 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 290939c23f..0f148fa482 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 @@ class WP_Posts_List_Table extends WP_List_Table { diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php index 0fc0f825b1..b398a55c01 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 @@ class WP_Terms_List_Table extends WP_List_Table { 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 66f7797caa..7fb06f78c1 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 @@ class WP_Theme_Install_List_Table extends WP_List_Table { diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index 47d51554ef..d2186e61c0 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 @@ class WP_Themes_List_Table extends WP_List_Table { 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 8afacd8a22..adb8321475 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 @@ class WP_Users_List_Table extends WP_List_Table { return $r; } } - -?> diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index d731130a53..8458911575 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 cdbc5998a8..62715b2eae 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 b7c6e4bc65..2954a7c724 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -1075,5 +1075,3 @@ submit_button( __( 'Proceed' ), 'button', 'upgrade' ); diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index c20b8f74fc..daf6221b78 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 f57be766c0..3713f18b40 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 716e80aca9..f9785d7ac6 100644 --- a/wp-admin/includes/list-table.php +++ b/wp-admin/includes/list-table.php @@ -101,4 +101,3 @@ class _WP_List_Table_Compat extends WP_List_Table { return $this->_columns; } } -?> \ No newline at end of file diff --git a/wp-admin/includes/menu.php b/wp-admin/includes/menu.php index 1eae8576c7..14cadfa6f7 100644 --- a/wp-admin/includes/menu.php +++ b/wp-admin/includes/menu.php @@ -227,5 +227,3 @@ if ( !user_can_access_admin_page() ) { } $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 7312576ae4..68499025c8 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 e7b017bebe..aa4bb2dfe7 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 b9d691a378..8d9a67355a 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 0543fa1760..a11d022b0c 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 322204d503..0d07b4305d 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 d5f522ec19..d9a9dd344b 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -958,5 +958,3 @@ We hope you enjoy your new site. Thanks! return true; } - -?> diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 363a931cd9..911b9097ba 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -320,4 +320,3 @@ case 'latest_installed': 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 0af4e74c5c..5b2cb88cac 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 a5828c186b..6445bec508 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 8e85c9ddb6..f70bd33242 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -1970,4 +1970,3 @@ CREATE TABLE $wpdb->sitecategories ( dbDelta( $ms_queries ); } endif; -?> diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 99baa9c729..e915fa819a 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 aed1236019..318cf3f64d 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 bbaea63e57..d78bada1f6 100644 --- a/wp-admin/index-extra.php +++ b/wp-admin/index-extra.php @@ -36,5 +36,3 @@ case 'dashboard_plugins' : break; } - -?> \ No newline at end of file diff --git a/wp-admin/install-helper.php b/wp-admin/install-helper.php index 2970b7cba0..c60e631983 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 37c792788f..7c7fdff95d 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 6ba6542929..744278c266 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 9b1cae7c1e..737dc91387 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -27,4 +27,3 @@ $link = get_default_link_to_edit(); 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 ccb310917c..f24f420d83 100644 --- a/wp-admin/link-parse-opml.php +++ b/wp-admin/link-parse-opml.php @@ -94,4 +94,3 @@ if (!xml_parse($xml_parser, $opml, true)) { // 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 922f96cccc..15ca9889f8 100644 --- a/wp-admin/link.php +++ b/wp-admin/link.php @@ -115,4 +115,3 @@ switch ($action) { default : break; } -?> diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php index a257f94589..7324d74518 100644 --- a/wp-admin/media-new.php +++ b/wp-admin/media-new.php @@ -15,5 +15,3 @@ $_GET['inline'] = 'true'; /** 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 666c3f37e2..6952eac93e 100644 --- a/wp-admin/media-upload.php +++ b/wp-admin/media-upload.php @@ -136,4 +136,3 @@ if ( isset($_GET['inline']) ) { else do_action("media_upload_$tab"); } -?> diff --git a/wp-admin/media.php b/wp-admin/media.php index 9876cde726..5381865c2a 100644 --- a/wp-admin/media.php +++ b/wp-admin/media.php @@ -144,5 +144,3 @@ default: exit; endswitch; - -?> diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 050bbd1666..cffd59d977 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -232,5 +232,3 @@ $compat = array( ); require_once(ABSPATH . 'wp-admin/includes/menu.php'); - -?> diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index d3c9afc55f..9129795de6 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 5ebb14c24b..fe5e19bc87 100644 --- a/wp-admin/ms-admin.php +++ b/wp-admin/ms-admin.php @@ -11,4 +11,3 @@ require_once( './admin.php' ); wp_redirect( network_admin_url() ); exit; -?> diff --git a/wp-admin/ms-delete-site.php b/wp-admin/ms-delete-site.php index 2ae22339b7..95f0aa091d 100644 --- a/wp-admin/ms-delete-site.php +++ b/wp-admin/ms-delete-site.php @@ -80,4 +80,3 @@ Webmaster echo ''; include( './admin-footer.php' ); -?> diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php index 6c0e04fe5d..6e56e026a9 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -11,4 +11,3 @@ require_once( './admin.php' ); wp_redirect( network_admin_url() ); exit; -?> diff --git a/wp-admin/ms-sites.php b/wp-admin/ms-sites.php index 9b788e3c97..00502c915a 100644 --- a/wp-admin/ms-sites.php +++ b/wp-admin/ms-sites.php @@ -11,5 +11,3 @@ require_once( './admin.php' ); wp_redirect( network_admin_url('sites.php') ); exit; - -?> diff --git a/wp-admin/ms-themes.php b/wp-admin/ms-themes.php index ad54efe2e5..ad873babb4 100644 --- a/wp-admin/ms-themes.php +++ b/wp-admin/ms-themes.php @@ -11,4 +11,3 @@ require_once( './admin.php' ); 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 0a4ea56ab1..3d36a2cc59 100644 --- a/wp-admin/ms-upgrade-network.php +++ b/wp-admin/ms-upgrade-network.php @@ -11,5 +11,3 @@ require_once('admin.php'); wp_redirect( network_admin_url('upgrade.php') ); exit; - -?> diff --git a/wp-admin/ms-users.php b/wp-admin/ms-users.php index 5b4f1c52b2..a3be929ac7 100644 --- a/wp-admin/ms-users.php +++ b/wp-admin/ms-users.php @@ -11,4 +11,3 @@ require_once( './admin.php' ); wp_redirect( network_admin_url('users.php') ); exit; -?> diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 873b03cf95..2ef4ca77e8 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -118,4 +118,3 @@ else : diff --git a/wp-admin/network/admin.php b/wp-admin/network/admin.php index dfa37681ab..01e6ea70c9 100644 --- a/wp-admin/network/admin.php +++ b/wp-admin/network/admin.php @@ -22,4 +22,3 @@ if ( $redirect_network_admin_request ) { exit; } unset( $redirect_network_admin_request ); -?> diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php index 5ccba2a0c7..e76f25878c 100644 --- a/wp-admin/network/edit.php +++ b/wp-admin/network/edit.php @@ -25,5 +25,3 @@ do_action( 'network_admin_edit_' . $_GET['action'] ); wp_redirect( network_admin_url() ); exit(); - -?> diff --git a/wp-admin/network/menu.php b/wp-admin/network/menu.php index ed611b7f65..a35a2802e7 100644 --- a/wp-admin/network/menu.php +++ b/wp-admin/network/menu.php @@ -61,5 +61,3 @@ $submenu[ 'upgrade.php' ][15] = array( __( 'Update Network' ), 'manage_network', $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 3abcca1a4b..2628ac1391 100644 --- a/wp-admin/network/site-new.php +++ b/wp-admin/network/site-new.php @@ -148,4 +148,3 @@ if ( ! empty( $messages ) ) { diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php index 88cc6cbc7f..2044914512 100644 --- a/wp-admin/network/user-new.php +++ b/wp-admin/network/user-new.php @@ -105,4 +105,3 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?> diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index 7f2cc74d08..066caafbbe 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -17,5 +17,3 @@ if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) { } settings_errors(); - -?> \ No newline at end of file diff --git a/wp-admin/options.php b/wp-admin/options.php index adcdb64412..e141995cef 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -223,4 +223,3 @@ endforeach; diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 374497bb6d..d341541ce3 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -69,4 +69,3 @@ include(ABSPATH . 'wp-admin/admin-header.php'); ID; include('edit-form-advanced.php'); include('./admin-footer.php'); -?> diff --git a/wp-admin/post.php b/wp-admin/post.php index c3bca7020f..e1119ce644 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -262,4 +262,3 @@ default: break; } // end switch include('./admin-footer.php'); -?> diff --git a/wp-admin/profile.php b/wp-admin/profile.php index 71a1b0466f..c5021f169e 100644 --- a/wp-admin/profile.php +++ b/wp-admin/profile.php @@ -16,4 +16,3 @@ define('IS_PROFILE_PAGE', true); /** Load User Editing Page */ require_once('./user-edit.php'); -?> diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 333ac44f01..9f70deb75d 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -75,4 +75,3 @@ $wp_list_table->views(); ?> diff --git a/wp-admin/upgrade-functions.php b/wp-admin/upgrade-functions.php index ca14a59c83..080d74d7c5 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 953c148833..4fabfb9dcc 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -430,4 +430,3 @@ break; diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index 282b0c960b..52db314108 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -373,4 +373,3 @@ foreach ( array( 'user_login' => 'login', 'first_name' => 'firstname', 'last_nam diff --git a/wp-admin/user/admin.php b/wp-admin/user/admin.php index 02173fe3d3..25691c866a 100644 --- a/wp-admin/user/admin.php +++ b/wp-admin/user/admin.php @@ -23,5 +23,3 @@ if ( $redirect_user_admin_request ) { exit; } unset( $redirect_user_admin_request ); - -?> diff --git a/wp-admin/user/menu.php b/wp-admin/user/menu.php index 5f9e4f6482..9f30076bd4 100644 --- a/wp-admin/user/menu.php +++ b/wp-admin/user/menu.php @@ -20,5 +20,3 @@ $compat = array(); $submenu = array(); require_once(ABSPATH . 'wp-admin/includes/menu.php'); - -?> diff --git a/wp-app.php b/wp-app.php index e75726e04e..d84b58aea7 100644 --- a/wp-app.php +++ b/wp-app.php @@ -1608,5 +1608,3 @@ EOD; */ $server = new AtomServer(); $server->handle_request(); - -?> diff --git a/wp-blog-header.php b/wp-blog-header.php index 0f7118f3c1..3e1b8ef560 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -16,5 +16,3 @@ if ( !isset($wp_did_header) ) { 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 735ae82306..66ae3302d5 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -97,4 +97,3 @@ $location = apply_filters('comment_post_redirect', $location, $comment); wp_redirect($location); exit; -?> diff --git a/wp-content/index.php b/wp-content/index.php index 4e6c07c7ee..62200328fd 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 e27f1ae852..5aacd79734 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 e75ca394a3..c6f2f24750 100644 --- a/wp-includes/atomlib.php +++ b/wp-includes/atomlib.php @@ -350,5 +350,3 @@ class AtomParser { $string ); } } - -?> diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 4b21e446e3..c9c8dfad9d 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 7c5949cc21..2dc5b7b2e3 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 81570669f4..0c0c4c7819 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 47f6ce1673..8e8c91055b 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -553,4 +553,3 @@ class WP_Object_Cache { return true; } } -?> diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 2e1e8fb677..0b79e5afb1 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 53e35820bc..c8d58b9303 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 557d2c1781..8c09087e6e 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 5bbf1dd8d0..17283d01a9 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 9d89f0c58d..64a60d46b3 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -1061,5 +1061,3 @@ class IXR_ClientMulticall extends IXR_Client return parent::query('system.multicall', $this->calls); } } - -?> diff --git a/wp-includes/class-json.php b/wp-includes/class-json.php index 75010df207..58f6f7de28 100644 --- a/wp-includes/class-json.php +++ b/wp-includes/class-json.php @@ -860,4 +860,3 @@ if (class_exists('PEAR_Error')) { } endif; -?> diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index f79772caed..9b46720229 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 1b8f8b3391..a7c062e4be 100644 --- a/wp-includes/class-wp-admin-bar.php +++ b/wp-includes/class-wp-admin-bar.php @@ -471,4 +471,3 @@ class WP_Admin_Bar { 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 9c225c116a..2b981b0b14 100644 --- a/wp-includes/class-wp-ajax-response.php +++ b/wp-includes/class-wp-ajax-response.php @@ -134,5 +134,3 @@ class WP_Ajax_Response { die(); } } - -?> diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index f08c2c08b5..f057f5f47a 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -796,4 +796,3 @@ final class _WP_Editors { \ 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 9e202ed63c..736fc5a223 100644 --- a/wp-includes/class-wp-http-ixr-client.php +++ b/wp-includes/class-wp-http-ixr-client.php @@ -90,4 +90,3 @@ class WP_HTTP_IXR_Client extends IXR_Client { return true; } } -?> diff --git a/wp-includes/class-wp-walker.php b/wp-includes/class-wp-walker.php index 5eac6e12ab..5478da90d8 100644 --- a/wp-includes/class-wp-walker.php +++ b/wp-includes/class-wp-walker.php @@ -395,5 +395,3 @@ class Walker { } } - -?> \ 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 9806aafea4..be6ef4d185 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -3621,4 +3621,3 @@ class wp_xmlrpc_server extends IXR_Server { return $pingbacks; } } -?> diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index 0e2c33e798..e183f8e4c8 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -601,5 +601,3 @@ class WP_MatchesMapRegex { } } - -?> diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php index 6455fe4737..48e8f7ef1d 100644 --- a/wp-includes/class.wp-styles.php +++ b/wp-includes/class.wp-styles.php @@ -168,4 +168,3 @@ class WP_Styles extends WP_Dependencies { $this->print_html = ''; } } - diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 09a7335015..e135717f85 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 7575831c54..cddf0be2ed 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 55a9130bfe..ce4df01c73 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 fa7f92f58a..ebdaa21d41 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 c17f280c1e..eade351842 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -284,5 +284,3 @@ add_action( 'admin_init', 'register_admin_color_schemes', 1); 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 32720c9dc5..f60d75b82d 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 761ac8de5c..e7c8d447ca 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 1bc0624a00..8fe0aacdf3 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 57f4a854b1..5191fc5843 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 006580752e..d0cb23c238 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 c897a601c7..f2d6c2e42a 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 323591d91d..e2ff8dac5c 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 065a00457c..ab2d89880f 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 6f62ca3987..09e408cc7c 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 61dab0e358..d02e08d555 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 1d1c303af4..81f6c0466d 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 fdba4ee0c3..89a3f36bdd 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 c40ef1d982..3caa808177 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 0bd6a92b85..e9118cfe52 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 12dc661a37..cc341b140c 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 9e42f62d21..3922d3e13e 100644 --- a/wp-includes/ms-default-filters.php +++ b/wp-includes/ms-default-filters.php @@ -60,5 +60,3 @@ add_filter( 'force_filtered_html_on_import', '__return_true' ); // 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 9b910b72e0..6cc6bc28b9 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 e7ab0a4ccc..100ba2c6d1 100644 --- a/wp-includes/ms-files.php +++ b/wp-includes/ms-files.php @@ -80,4 +80,3 @@ if ( ( $client_last_modified && $client_etag ) // 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 9dc11cc970..23045be226 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 5ff0526fdf..c55832ff43 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 f8098e03f5..361a8de600 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 577e8196d4..914d70654c 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 f35d23dc97..ec65433fd3 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 6e53d33af0..1505a816f9 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 31a98445e6..90186cf24e 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 889919de09..9fee68601d 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 07d919c6d4..a0ffabf9fc 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 4b2e330748..2354166991 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1970,5 +1970,3 @@ class WP_Rewrite { $this->init(); } } - -?> diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php index d8b2b8dc3f..86458479df 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 479315e234..0d94937685 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 2d83ab64dc..1b860d2766 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 7c72a05e13..fdf75f15ec 100644 --- a/wp-includes/template-loader.php +++ b/wp-includes/template-loader.php @@ -43,5 +43,3 @@ if ( defined('WP_USE_THEMES') && WP_USE_THEMES ) : include( $template ); return; endif; - -?> diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php index c703949c19..7c0939b6b8 100644 --- a/wp-includes/theme-compat/sidebar.php +++ b/wp-includes/theme-compat/sidebar.php @@ -81,4 +81,3 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3. - diff --git a/wp-includes/update.php b/wp-includes/update.php index 2e6470b8a0..284448dc76 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -451,5 +451,3 @@ add_action( 'admin_init', '_maybe_update_themes' ); 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 626292cb04..8d0de2f68c 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 3b824a959a..e444210b63 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -97,5 +97,3 @@ $is_IIS = !$is_apache && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ! * @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 eb13147330..98504ee407 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 1a2a39e73a..515156f64d 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -1565,5 +1565,3 @@ class wpdb { 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 95ff763640..052bf13345 100644 --- a/wp-includes/wp-diff.php +++ b/wp-includes/wp-diff.php @@ -470,5 +470,3 @@ class WP_Text_Diff_Renderer_inline extends Text_Diff_Renderer_inline { } } - -?> diff --git a/wp-load.php b/wp-load.php index 9afeacd234..5878310afd 100644 --- a/wp-load.php +++ b/wp-load.php @@ -57,5 +57,3 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { 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 607c678d0a..97e5d48ed0 100644 --- a/wp-login.php +++ b/wp-login.php @@ -689,4 +689,3 @@ if(typeof wpOnload=='function')wpOnload(); login_footer(); break; } // end action switch -?> diff --git a/wp-mail.php b/wp-mail.php index 520e771819..b75e3bb26b 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -232,5 +232,3 @@ for ( $i = 1; $i <= $count; $i++ ) { } $pop3->quit(); - -?> diff --git a/wp-pass.php b/wp-pass.php index 556deab9c6..6cb2a6d8ff 100644 --- a/wp-pass.php +++ b/wp-pass.php @@ -14,4 +14,3 @@ setcookie('wp-postpass_' . COOKIEHASH, stripslashes( $_POST['post_password'] ), wp_safe_redirect(wp_get_referer()); exit; -?> diff --git a/wp-register.php b/wp-register.php index 0b1a769764..a9062e0d56 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 2d80375317..59c9e7c5d0 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -322,4 +322,3 @@ if ( is_multisite() ) { * @since 3.0.0 */ do_action('wp_loaded'); -?> diff --git a/wp-trackback.php b/wp-trackback.php index 737fbcecd5..06e47507be 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -108,4 +108,3 @@ if ( !empty($tb_url) && !empty($title) ) { 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 ff7bfcde9e..e4dafe7929 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -107,4 +107,3 @@ $wp_xmlrpc_server = new $wp_xmlrpc_server_class; // Fire off the request $wp_xmlrpc_server->serve_request(); -?> \ No newline at end of file