Lose EOF ?>. Clean up EOF newlines. fixes #12307

git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-01-08 17:01:11 +00:00
parent 3fe0d5e688
commit e3b46b25d3
171 changed files with 0 additions and 268 deletions

View File

@ -15,4 +15,3 @@ define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>

View File

@ -198,5 +198,3 @@ _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
__( 'For more information, see <a href="%s">the release notes</a>.' );
?>

View File

@ -1587,4 +1587,3 @@ default :
die('0');
break;
endswitch;
?>

View File

@ -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');
?>

View File

@ -29,5 +29,3 @@ if ( !empty($_REQUEST['action']) )
$action .= '_' . $_REQUEST['action'];
do_action($action);
?>

View File

@ -228,5 +228,3 @@ if ( isset($plugin_page) ) {
if ( !empty($_REQUEST['action']) )
do_action('admin_action_' . $_REQUEST['action']);
?>

View File

@ -66,5 +66,3 @@ if ( $_REQUEST['short'] ) {
$type = $_REQUEST['type'];
echo apply_filters("async_upload_{$type}", $id);
}
?>

View File

@ -295,5 +295,3 @@ default:
} // end switch
include('./admin-footer.php');
?>

View File

@ -157,5 +157,3 @@ __( 'XML-RPC' );
__( 'Internationalization' );
__( 'External Libraries' );
__( 'Icon Design' );
?>

View File

@ -241,4 +241,3 @@ p.button-controls,
#nav-menus-frame .delete-action {
float: none;
}

View File

@ -547,4 +547,3 @@ table.ie-fixed {
* html #adminmenu div.wp-menu-image {
height: 29px;
}

View File

@ -261,4 +261,3 @@ body.rtl {
.rtl #pass2 {
direction: ltr;
}

View File

@ -367,4 +367,3 @@ if ( get_background_image() ) {
}
}
?>

View File

@ -796,4 +796,3 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
}
}
?>

View File

@ -416,5 +416,3 @@ break;
}
include('./admin-footer.php');
?>

View File

@ -137,4 +137,3 @@ if ( current_user_can('install_plugins') )
<?php
include ('admin-footer.php');
?>

View File

@ -63,5 +63,3 @@ if ( is_multisite() ) {
require_once(ABSPATH . 'wp-admin/includes/ms.php');
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
}
?>

View File

@ -265,5 +265,3 @@ function wp_update_link( $linkdata ) {
return wp_insert_link( $linkdata );
}
?>

View File

@ -556,5 +556,3 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
return 10;
}
}
?>

View File

@ -328,5 +328,3 @@ class WP_Filesystem_Base {
return (bool) preg_match('|[^\x20-\x7E]|', $text); //chr(32)..chr(127)
}
}
?>

View File

@ -361,4 +361,3 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
return $ret;
}
}
?>

View File

@ -387,5 +387,3 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
ftp_close($this->link);
}
}
?>

View File

@ -327,5 +327,3 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
$this->ftp->quit();
}
}
?>

View File

@ -182,5 +182,3 @@ class WP_Links_List_Table extends WP_List_Table {
}
}
}
?>

View File

@ -913,4 +913,3 @@ class WP_List_Table {
printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) );
}
}
?>

View File

@ -392,5 +392,3 @@ foreach ( $columns as $column_name => $column_display_name ) {
return $actions;
}
}
?>

View File

@ -337,5 +337,3 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
}
}
}
?>

View File

@ -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 );
}
}
?>

View File

@ -273,5 +273,3 @@ class WP_MS_Users_List_Table extends WP_List_Table {
}
}
}
?>

View File

@ -238,5 +238,3 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
}
}
}
?>

View File

@ -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 );
}
}
?>

View File

@ -1050,5 +1050,3 @@ class WP_Posts_List_Table extends WP_List_Table {
<?php
}
}
?>

View File

@ -378,5 +378,3 @@ class WP_Terms_List_Table extends WP_List_Table {
<?php
}
}
?>

View File

@ -165,5 +165,3 @@ class WP_Theme_Install_List_Table extends WP_List_Table {
<?php } // end foreach $theme_names
}
}
?>

View File

@ -218,5 +218,3 @@ class WP_Themes_List_Table extends WP_List_Table {
return true;
}
}
?>

View File

@ -316,5 +316,3 @@ class WP_Users_List_Table extends WP_List_Table {
return $r;
}
}
?>

View File

@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() {
if ( 'true' == get_user_option( 'comment_shortcuts' ) )
wp_enqueue_script( 'jquery-table-hotkeys' );
}
?>

View File

@ -1356,5 +1356,3 @@ function wp_welcome_panel() {
</div>
<?php
}
?>

View File

@ -1075,5 +1075,3 @@ submit_button( __( 'Proceed' ), 'button', 'upgrade' );
<?php
return false;
}
?>

View File

@ -664,4 +664,3 @@ function wp_save_image($post_id) {
$return->msg = esc_js( __('Image saved') );
return $return;
}

View File

@ -93,5 +93,3 @@ function wp_import_handle_upload() {
return array( 'file' => $file, 'id' => $id );
}
?>

View File

@ -101,4 +101,3 @@ class _WP_List_Table_Compat extends WP_List_Table {
return $this->_columns;
}
}
?>

View File

@ -227,5 +227,3 @@ if ( !user_can_access_admin_page() ) {
}
$menu = add_menu_classes($menu);
?>

View File

@ -591,4 +591,3 @@ function _ipad_meta() {
}
}
add_action('admin_head', '_ipad_meta');

View File

@ -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 );
}
?>

View File

@ -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 );
}
?>

View File

@ -1161,5 +1161,3 @@ function _wp_delete_orphaned_draft_menu_items() {
}
add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items');
?>

View File

@ -1721,5 +1721,3 @@ function settings_fields($option_group) {
echo '<input type="hidden" name="action" value="update" />';
wp_nonce_field("$option_group-options");
}
?>

View File

@ -958,5 +958,3 @@ We hope you enjoy your new site. Thanks!
return true;
}
?>

View File

@ -320,4 +320,3 @@ case 'latest_installed':
exit;
}
add_action('install_themes_pre_theme-information', 'install_theme_information');

View File

@ -417,5 +417,3 @@ function themes_api($action, $args = null) {
return apply_filters('themes_api_result', $res, $action, $args);
}
?>

View File

@ -304,5 +304,3 @@ function maintenance_nag() {
echo "<div class='update-nag'>$msg</div>";
}
add_action( 'admin_notices', 'maintenance_nag' );
?>

View File

@ -1970,4 +1970,3 @@ CREATE TABLE $wpdb->sitecategories (
dbDelta( $ms_queries );
}
endif;
?>

View File

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

View File

@ -222,4 +222,3 @@ function wp_widget_control( $sidebar_args ) {
echo $sidebar_args['after_widget'];
return $sidebar_args;
}

View File

@ -36,5 +36,3 @@ case 'dashboard_plugins' :
break;
}
?>

View File

@ -213,5 +213,3 @@ function check_column($table_name, $col_name, $col_type, $is_null = null, $key =
}
return false;
}
?>

View File

@ -203,4 +203,3 @@ var switchEditors = {
return o.data;
}
}

View File

@ -61,4 +61,3 @@ jQuery(document).ready(function($) {
});
});

View File

@ -27,4 +27,3 @@ $link = get_default_link_to_edit();
include('./edit-link-form.php');
require('./admin-footer.php');
?>

View File

@ -94,4 +94,3 @@ if (!xml_parse($xml_parser, $opml, true)) {
// Free up memory used by the XML parser
xml_parser_free($xml_parser);
?>

View File

@ -115,4 +115,3 @@ switch ($action) {
default :
break;
}
?>

View File

@ -15,5 +15,3 @@ $_GET['inline'] = 'true';
/** Administration bootstrap */
require_once('./admin.php');
require_once('./media-upload.php');
?>

View File

@ -136,4 +136,3 @@ if ( isset($_GET['inline']) ) {
else
do_action("media_upload_$tab");
}
?>

View File

@ -144,5 +144,3 @@ default:
exit;
endswitch;
?>

View File

@ -232,5 +232,3 @@ $compat = array(
);
require_once(ABSPATH . 'wp-admin/includes/menu.php');
?>

View File

@ -10,4 +10,3 @@
require_once('../wp-load.php');
wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
exit;
?>

View File

@ -11,4 +11,3 @@ require_once( './admin.php' );
wp_redirect( network_admin_url() );
exit;
?>

View File

@ -80,4 +80,3 @@ Webmaster
echo '</div>';
include( './admin-footer.php' );
?>

View File

@ -11,4 +11,3 @@ require_once( './admin.php' );
wp_redirect( network_admin_url() );
exit;
?>

View File

@ -11,5 +11,3 @@ require_once( './admin.php' );
wp_redirect( network_admin_url('sites.php') );
exit;
?>

View File

@ -11,4 +11,3 @@ require_once( './admin.php' );
wp_redirect( network_admin_url('themes.php') );
exit;
?>

View File

@ -11,5 +11,3 @@ require_once('admin.php');
wp_redirect( network_admin_url('upgrade.php') );
exit;
?>

View File

@ -11,4 +11,3 @@ require_once( './admin.php' );
wp_redirect( network_admin_url('users.php') );
exit;
?>

View File

@ -118,4 +118,3 @@ else :
</div>
<?php
include( './admin-footer.php' );
?>

View File

@ -22,4 +22,3 @@ if ( $redirect_network_admin_request ) {
exit;
}
unset( $redirect_network_admin_request );
?>

View File

@ -25,5 +25,3 @@ do_action( 'network_admin_edit_' . $_GET['action'] );
wp_redirect( network_admin_url() );
exit();
?>

View File

@ -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');
?>

View File

@ -148,4 +148,3 @@ if ( ! empty( $messages ) ) {
</div>
<?php
require('../admin-footer.php');
?>

View File

@ -105,4 +105,3 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?>
</div>
<?php
require('../admin-footer.php');
?>

View File

@ -17,5 +17,3 @@ if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
}
settings_errors();
?>

View File

@ -223,4 +223,3 @@ endforeach;
<?php
include('./admin-footer.php');
?>

View File

@ -69,4 +69,3 @@ include(ABSPATH . 'wp-admin/admin-header.php');
</div>
<?php
include(ABSPATH . 'wp-admin/admin-footer.php');

View File

@ -46,4 +46,3 @@ $post = get_default_post_to_edit( $post_type, true );
$post_ID = $post->ID;
include('edit-form-advanced.php');
include('./admin-footer.php');
?>

View File

@ -262,4 +262,3 @@ default:
break;
} // end switch
include('./admin-footer.php');
?>

View File

@ -16,4 +16,3 @@ define('IS_PROFILE_PAGE', true);
/** Load User Editing Page */
require_once('./user-edit.php');
?>

View File

@ -75,4 +75,3 @@ $wp_list_table->views(); ?>
</div>
<?php
include(ABSPATH . 'wp-admin/admin-footer.php');

View File

@ -69,4 +69,3 @@ do_action( 'tool_box' );
</div>
<?php
include('./admin-footer.php');
?>

View File

@ -10,4 +10,3 @@
_deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/upgrade.php' );
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
?>

View File

@ -430,4 +430,3 @@ break;
</script>
<?php
include( ABSPATH . 'wp-admin/admin-footer.php');
?>

View File

@ -373,4 +373,3 @@ foreach ( array( 'user_login' => 'login', 'first_name' => 'firstname', 'last_nam
</div>
<?php
include('./admin-footer.php');
?>

View File

@ -23,5 +23,3 @@ if ( $redirect_user_admin_request ) {
exit;
}
unset( $redirect_user_admin_request );
?>

View File

@ -20,5 +20,3 @@ $compat = array();
$submenu = array();
require_once(ABSPATH . 'wp-admin/includes/menu.php');
?>

View File

@ -1608,5 +1608,3 @@ EOD;
*/
$server = new AtomServer();
$server->handle_request();
?>

View File

@ -16,5 +16,3 @@ if ( !isset($wp_did_header) ) {
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?>

View File

@ -97,4 +97,3 @@ $location = apply_filters('comment_post_redirect', $location, $comment);
wp_redirect($location);
exit;
?>

View File

@ -1,3 +1,2 @@
<?php
// Silence is golden.
?>

View File

@ -741,5 +741,3 @@ function _get_admin_bar_pref( $context = 'front', $user = 0 ) {
return 'true' === $pref;
}
?>

View File

@ -350,5 +350,3 @@ class AtomParser {
$string );
}
}
?>

View File

@ -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');
?>

Some files were not shown because too many files have changed in this diff Show More