Skip to content

Commit

Permalink
Coding Standards: Correct the closing PHP tag placement in some admin…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
SergeyBiryukov committed Apr 3, 2023
1 parent a415951 commit 6af7679
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion wp-admin/network/site-themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@
$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>
Expand Down
3 changes: 2 additions & 1 deletion wp-admin/network/site-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@
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 ); ?>;
Expand Down
3 changes: 2 additions & 1 deletion wp-admin/network/user-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
$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>
Expand Down
3 changes: 2 additions & 1 deletion wp-admin/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@
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>
Expand Down
3 changes: 2 additions & 1 deletion wp-admin/widgets-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@
$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; ?>>
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6af7679

Please sign in to comment.