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:
parent
3fe0d5e688
commit
e3b46b25d3
|
@ -15,4 +15,3 @@ define('WP_USE_THEMES', true);
|
|||
|
||||
/** Loads the WordPress Environment and Template */
|
||||
require('./wp-blog-header.php');
|
||||
?>
|
|
@ -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>.' );
|
||||
|
||||
?>
|
|
@ -1587,4 +1587,3 @@ default :
|
|||
die('0');
|
||||
break;
|
||||
endswitch;
|
||||
?>
|
||||
|
|
|
@ -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');
|
||||
?>
|
|
@ -29,5 +29,3 @@ if ( !empty($_REQUEST['action']) )
|
|||
$action .= '_' . $_REQUEST['action'];
|
||||
|
||||
do_action($action);
|
||||
|
||||
?>
|
|
@ -228,5 +228,3 @@ if ( isset($plugin_page) ) {
|
|||
|
||||
if ( !empty($_REQUEST['action']) )
|
||||
do_action('admin_action_' . $_REQUEST['action']);
|
||||
|
||||
?>
|
||||
|
|
|
@ -66,5 +66,3 @@ if ( $_REQUEST['short'] ) {
|
|||
$type = $_REQUEST['type'];
|
||||
echo apply_filters("async_upload_{$type}", $id);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -295,5 +295,3 @@ default:
|
|||
} // end switch
|
||||
|
||||
include('./admin-footer.php');
|
||||
|
||||
?>
|
||||
|
|
|
@ -157,5 +157,3 @@ __( 'XML-RPC' );
|
|||
__( 'Internationalization' );
|
||||
__( 'External Libraries' );
|
||||
__( 'Icon Design' );
|
||||
|
||||
?>
|
||||
|
|
|
@ -241,4 +241,3 @@ p.button-controls,
|
|||
#nav-menus-frame .delete-action {
|
||||
float: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -547,4 +547,3 @@ table.ie-fixed {
|
|||
* html #adminmenu div.wp-menu-image {
|
||||
height: 29px;
|
||||
}
|
||||
|
||||
|
|
|
@ -261,4 +261,3 @@ body.rtl {
|
|||
.rtl #pass2 {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
|
|
|
@ -367,4 +367,3 @@ if ( get_background_image() ) {
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -796,4 +796,3 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -416,5 +416,3 @@ break;
|
|||
}
|
||||
|
||||
include('./admin-footer.php');
|
||||
|
||||
?>
|
||||
|
|
|
@ -137,4 +137,3 @@ if ( current_user_can('install_plugins') )
|
|||
<?php
|
||||
|
||||
include ('admin-footer.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');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -265,5 +265,3 @@ function wp_update_link( $linkdata ) {
|
|||
|
||||
return wp_insert_link( $linkdata );
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -556,5 +556,3 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
|
|||
return 10;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -328,5 +328,3 @@ class WP_Filesystem_Base {
|
|||
return (bool) preg_match('|[^\x20-\x7E]|', $text); //chr(32)..chr(127)
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -361,4 +361,3 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
|
|||
return $ret;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -387,5 +387,3 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
|||
ftp_close($this->link);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -327,5 +327,3 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
|||
$this->ftp->quit();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -182,5 +182,3 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -913,4 +913,3 @@ class WP_List_Table {
|
|||
printf( "<script type='text/javascript'>list_args = %s;</script>\n", json_encode( $args ) );
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -392,5 +392,3 @@ foreach ( $columns as $column_name => $column_display_name ) {
|
|||
return $actions;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -337,5 +337,3 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -273,5 +273,3 @@ class WP_MS_Users_List_Table extends WP_List_Table {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -238,5 +238,3 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -1050,5 +1050,3 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -378,5 +378,3 @@ class WP_Terms_List_Table extends WP_List_Table {
|
|||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -165,5 +165,3 @@ class WP_Theme_Install_List_Table extends WP_List_Table {
|
|||
<?php } // end foreach $theme_names
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -218,5 +218,3 @@ class WP_Themes_List_Table extends WP_List_Table {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -316,5 +316,3 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||
return $r;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -156,4 +156,3 @@ function enqueue_comment_hotkeys_js() {
|
|||
if ( 'true' == get_user_option( 'comment_shortcuts' ) )
|
||||
wp_enqueue_script( 'jquery-table-hotkeys' );
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -1356,5 +1356,3 @@ function wp_welcome_panel() {
|
|||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -1075,5 +1075,3 @@ submit_button( __( 'Proceed' ), 'button', 'upgrade' );
|
|||
<?php
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -664,4 +664,3 @@ function wp_save_image($post_id) {
|
|||
$return->msg = esc_js( __('Image saved') );
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
|
|
@ -93,5 +93,3 @@ function wp_import_handle_upload() {
|
|||
|
||||
return array( 'file' => $file, 'id' => $id );
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -101,4 +101,3 @@ class _WP_List_Table_Compat extends WP_List_Table {
|
|||
return $this->_columns;
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -227,5 +227,3 @@ if ( !user_can_access_admin_page() ) {
|
|||
}
|
||||
|
||||
$menu = add_menu_classes($menu);
|
||||
|
||||
?>
|
|
@ -591,4 +591,3 @@ function _ipad_meta() {
|
|||
}
|
||||
}
|
||||
add_action('admin_head', '_ipad_meta');
|
||||
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
?>
|
|
@ -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 );
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -1161,5 +1161,3 @@ function _wp_delete_orphaned_draft_menu_items() {
|
|||
}
|
||||
|
||||
add_action('admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items');
|
||||
|
||||
?>
|
||||
|
|
|
@ -1721,5 +1721,3 @@ function settings_fields($option_group) {
|
|||
echo '<input type="hidden" name="action" value="update" />';
|
||||
wp_nonce_field("$option_group-options");
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -958,5 +958,3 @@ We hope you enjoy your new site. Thanks!
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -320,4 +320,3 @@ case 'latest_installed':
|
|||
exit;
|
||||
}
|
||||
add_action('install_themes_pre_theme-information', 'install_theme_information');
|
||||
|
||||
|
|
|
@ -417,5 +417,3 @@ function themes_api($action, $args = null) {
|
|||
|
||||
return apply_filters('themes_api_result', $res, $action, $args);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -304,5 +304,3 @@ function maintenance_nag() {
|
|||
echo "<div class='update-nag'>$msg</div>";
|
||||
}
|
||||
add_action( 'admin_notices', 'maintenance_nag' );
|
||||
|
||||
?>
|
||||
|
|
|
@ -1970,4 +1970,3 @@ CREATE TABLE $wpdb->sitecategories (
|
|||
dbDelta( $ms_queries );
|
||||
}
|
||||
endif;
|
||||
?>
|
||||
|
|
|
@ -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>';
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -222,4 +222,3 @@ function wp_widget_control( $sidebar_args ) {
|
|||
echo $sidebar_args['after_widget'];
|
||||
return $sidebar_args;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,5 +36,3 @@ case 'dashboard_plugins' :
|
|||
break;
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -213,5 +213,3 @@ function check_column($table_name, $col_name, $col_type, $is_null = null, $key =
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
|
@ -203,4 +203,3 @@ var switchEditors = {
|
|||
return o.data;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -61,4 +61,3 @@ jQuery(document).ready(function($) {
|
|||
});
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -27,4 +27,3 @@ $link = get_default_link_to_edit();
|
|||
include('./edit-link-form.php');
|
||||
|
||||
require('./admin-footer.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);
|
||||
?>
|
||||
|
|
|
@ -115,4 +115,3 @@ switch ($action) {
|
|||
default :
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -15,5 +15,3 @@ $_GET['inline'] = 'true';
|
|||
/** Administration bootstrap */
|
||||
require_once('./admin.php');
|
||||
require_once('./media-upload.php');
|
||||
|
||||
?>
|
||||
|
|
|
@ -136,4 +136,3 @@ if ( isset($_GET['inline']) ) {
|
|||
else
|
||||
do_action("media_upload_$tab");
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -144,5 +144,3 @@ default:
|
|||
exit;
|
||||
|
||||
endswitch;
|
||||
|
||||
?>
|
||||
|
|
|
@ -232,5 +232,3 @@ $compat = array(
|
|||
);
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/includes/menu.php');
|
||||
|
||||
?>
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
require_once('../wp-load.php');
|
||||
wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -11,4 +11,3 @@ require_once( './admin.php' );
|
|||
|
||||
wp_redirect( network_admin_url() );
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -80,4 +80,3 @@ Webmaster
|
|||
echo '</div>';
|
||||
|
||||
include( './admin-footer.php' );
|
||||
?>
|
||||
|
|
|
@ -11,4 +11,3 @@ require_once( './admin.php' );
|
|||
|
||||
wp_redirect( network_admin_url() );
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -11,5 +11,3 @@ require_once( './admin.php' );
|
|||
|
||||
wp_redirect( network_admin_url('sites.php') );
|
||||
exit;
|
||||
|
||||
?>
|
||||
|
|
|
@ -11,4 +11,3 @@ require_once( './admin.php' );
|
|||
|
||||
wp_redirect( network_admin_url('themes.php') );
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -11,5 +11,3 @@ require_once('admin.php');
|
|||
|
||||
wp_redirect( network_admin_url('upgrade.php') );
|
||||
exit;
|
||||
|
||||
?>
|
||||
|
|
|
@ -11,4 +11,3 @@ require_once( './admin.php' );
|
|||
|
||||
wp_redirect( network_admin_url('users.php') );
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -118,4 +118,3 @@ else :
|
|||
</div>
|
||||
<?php
|
||||
include( './admin-footer.php' );
|
||||
?>
|
||||
|
|
|
@ -22,4 +22,3 @@ if ( $redirect_network_admin_request ) {
|
|||
exit;
|
||||
}
|
||||
unset( $redirect_network_admin_request );
|
||||
?>
|
||||
|
|
|
@ -25,5 +25,3 @@ do_action( 'network_admin_edit_' . $_GET['action'] );
|
|||
|
||||
wp_redirect( network_admin_url() );
|
||||
exit();
|
||||
|
||||
?>
|
||||
|
|
|
@ -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');
|
||||
|
||||
?>
|
||||
|
|
|
@ -148,4 +148,3 @@ if ( ! empty( $messages ) ) {
|
|||
</div>
|
||||
<?php
|
||||
require('../admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -105,4 +105,3 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?>
|
|||
</div>
|
||||
<?php
|
||||
require('../admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -17,5 +17,3 @@ if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
|
|||
}
|
||||
|
||||
settings_errors();
|
||||
|
||||
?>
|
|
@ -223,4 +223,3 @@ endforeach;
|
|||
|
||||
<?php
|
||||
include('./admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -69,4 +69,3 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
|||
</div>
|
||||
<?php
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
|
|
|
@ -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');
|
||||
?>
|
||||
|
|
|
@ -262,4 +262,3 @@ default:
|
|||
break;
|
||||
} // end switch
|
||||
include('./admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -16,4 +16,3 @@ define('IS_PROFILE_PAGE', true);
|
|||
|
||||
/** Load User Editing Page */
|
||||
require_once('./user-edit.php');
|
||||
?>
|
||||
|
|
|
@ -75,4 +75,3 @@ $wp_list_table->views(); ?>
|
|||
</div>
|
||||
<?php
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
|
|
|
@ -69,4 +69,3 @@ do_action( 'tool_box' );
|
|||
</div>
|
||||
<?php
|
||||
include('./admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
|
||||
_deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/upgrade.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
||||
?>
|
||||
|
|
|
@ -430,4 +430,3 @@ break;
|
|||
</script>
|
||||
<?php
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -373,4 +373,3 @@ foreach ( array( 'user_login' => 'login', 'first_name' => 'firstname', 'last_nam
|
|||
</div>
|
||||
<?php
|
||||
include('./admin-footer.php');
|
||||
?>
|
||||
|
|
|
@ -23,5 +23,3 @@ if ( $redirect_user_admin_request ) {
|
|||
exit;
|
||||
}
|
||||
unset( $redirect_user_admin_request );
|
||||
|
||||
?>
|
||||
|
|
|
@ -20,5 +20,3 @@ $compat = array();
|
|||
$submenu = array();
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/includes/menu.php');
|
||||
|
||||
?>
|
||||
|
|
|
@ -1608,5 +1608,3 @@ EOD;
|
|||
*/
|
||||
$server = new AtomServer();
|
||||
$server->handle_request();
|
||||
|
||||
?>
|
||||
|
|
|
@ -16,5 +16,3 @@ if ( !isset($wp_did_header) ) {
|
|||
require_once( ABSPATH . WPINC . '/template-loader.php' );
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -97,4 +97,3 @@ $location = apply_filters('comment_post_redirect', $location, $comment);
|
|||
|
||||
wp_redirect($location);
|
||||
exit;
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
<?php
|
||||
// Silence is golden.
|
||||
?>
|
|
@ -741,5 +741,3 @@ function _get_admin_bar_pref( $context = 'front', $user = 0 ) {
|
|||
|
||||
return 'true' === $pref;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -350,5 +350,3 @@ class AtomParser {
|
|||
$string );
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue