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
This commit is contained in:
Sergey Biryukov 2021-03-21 13:05:04 +00:00
parent 63191bd646
commit a885f914e4
5 changed files with 7 additions and 9 deletions

View File

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

View File

@ -426,11 +426,9 @@ switch ( $step ) {
<tr>
<th><?php _e( 'Password' ); ?></th>
<td>
<?php
if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) :
?>
<?php if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) : ?>
<code><?php echo esc_html( $result['password'] ); ?></code><br />
<?php endif ?>
<?php endif; ?>
<p><?php echo $result['password_message']; ?></p>
</td>
</tr>

View File

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

View File

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

View File

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