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.
Built from https://develop.svn.wordpress.org/trunk@55618


git-svn-id: http://core.svn.wordpress.org/trunk@55130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-04-03 12:00:27 +00:00
parent a415951b8f
commit 6af7679802
6 changed files with 11 additions and 6 deletions

View File

@ -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>

View File

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

View File

@ -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>

View File

@ -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>

View File

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55617';
$wp_version = '6.3-alpha-55618';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.