From a885f914e41af6e9d4caf3b68007c4f5d53b3585 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Sun, 21 Mar 2021 13:05:04 +0000
Subject: [PATCH] Coding Standards: Add missing semicolon to some `endif`
 keywords.

See #52627.
Built from https://develop.svn.wordpress.org/trunk@50560


git-svn-id: http://core.svn.wordpress.org/trunk@50173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
 wp-admin/includes/image-edit.php | 2 +-
 wp-admin/install.php             | 8 +++-----
 wp-admin/options.php             | 2 +-
 wp-includes/media.php            | 2 +-
 wp-includes/version.php          | 2 +-
 5 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php
index ce80a69ad5..0430dbefbf 100644
--- a/wp-admin/includes/image-edit.php
+++ b/wp-admin/includes/image-edit.php
@@ -117,7 +117,7 @@ function wp_image_editor( $post_id, $msg = false ) {
 			);
 			?>
 		</p>
-		<?php endif ?>
+		<?php endif; ?>
 		<div class="imgedit-submit">
 
 		<fieldset class="imgedit-scale">
diff --git a/wp-admin/install.php b/wp-admin/install.php
index 411f29534b..7aea5937a1 100644
--- a/wp-admin/install.php
+++ b/wp-admin/install.php
@@ -426,11 +426,9 @@ switch ( $step ) {
 	<tr>
 		<th><?php _e( 'Password' ); ?></th>
 		<td>
-			<?php
-			if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) :
-				?>
-			<code><?php echo esc_html( $result['password'] ); ?></code><br />
-		<?php endif ?>
+			<?php if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) : ?>
+				<code><?php echo esc_html( $result['password'] ); ?></code><br />
+			<?php endif; ?>
 			<p><?php echo $result['password_message']; ?></p>
 		</td>
 	</tr>
diff --git a/wp-admin/options.php b/wp-admin/options.php
index b896f73470..049f15804a 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -392,7 +392,7 @@ foreach ( (array) $options as $option ) :
 		<textarea class="<?php echo $class; ?>" name="<?php echo $name; ?>" id="<?php echo $name; ?>" cols="30" rows="5"><?php echo esc_textarea( $value ); ?></textarea>
 	<?php else : ?>
 		<input class="regular-text <?php echo $class; ?>" type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( $value ); ?>"<?php disabled( $disabled, true ); ?> />
-	<?php endif ?></td>
+	<?php endif; ?></td>
 </tr>
 <?php endforeach; ?>
 </table>
diff --git a/wp-includes/media.php b/wp-includes/media.php
index a5504732d6..86e8ac221f 100644
--- a/wp-includes/media.php
+++ b/wp-includes/media.php
@@ -2793,7 +2793,7 @@ function wp_playlist_shortcode( $attr ) {
 <div class="wp-playlist wp-<?php echo $safe_type; ?>-playlist wp-playlist-<?php echo $safe_style; ?>">
 	<?php if ( 'audio' === $atts['type'] ) : ?>
 		<div class="wp-playlist-current-item"></div>
-	<?php endif ?>
+	<?php endif; ?>
 	<<?php echo $safe_type; ?> controls="controls" preload="none" width="<?php echo (int) $theme_width; ?>"
 		<?php
 		if ( 'video' === $safe_type ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index ad69f11ad4..d8c8e17810 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -13,7 +13,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '5.8-alpha-50559';
+$wp_version = '5.8-alpha-50560';
 
 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.