mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Coding Standards: Correct the closing PHP tag placement in some admin files.
Follow-up to [1596], [1818], [11009], [16183], [16582], [16592]. Props faisalahammad, audrasjb. Fixes #58053. git-svn-id: https://develop.svn.wordpress.org/trunk@55618 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
843711f5e0
commit
b98b5e59d7
@ -173,7 +173,8 @@ $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) );
|
||||
$parent_file = 'sites.php';
|
||||
$submenu_file = 'sites.php';
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h1 id="edit-site"><?php echo $title; ?></h1>
|
||||
|
||||
@ -213,7 +213,8 @@ if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users
|
||||
wp_enqueue_script( 'user-suggest' );
|
||||
}
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var current_site_id = <?php echo absint( $id ); ?>;
|
||||
|
||||
@ -100,7 +100,8 @@ if ( isset( $_GET['update'] ) ) {
|
||||
$title = __( 'Add New User' );
|
||||
$parent_file = 'users.php';
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h1 id="add-new-user"><?php _e( 'Add New User' ); ?></h1>
|
||||
|
||||
@ -353,7 +353,8 @@ if ( 'update' === $action ) { // We are saving settings sent from a settings pag
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h1><?php esc_html_e( 'All Settings' ); ?></h1>
|
||||
|
||||
@ -272,7 +272,8 @@ if ( isset( $_GET['editwidget'] ) && $_GET['editwidget'] ) {
|
||||
$width = ' style="width:' . max( $control['width'], 350 ) . 'px"';
|
||||
$key = isset( $_GET['key'] ) ? (int) $_GET['key'] : 0;
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
<div class="editwidget"<?php echo $width; ?>>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user