Skip to content

Commit 89e6e2d

Browse files
Coding Standards: Add missing semicolon to some endif keywords.
See #52627. git-svn-id: https://develop.svn.wordpress.org/trunk@50560 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 133b6a9 commit 89e6e2d

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

src/wp-admin/includes/image-edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function wp_image_editor( $post_id, $msg = false ) {
117117
);
118118
?>
119119
</p>
120-
<?php endif ?>
120+
<?php endif; ?>
121121
<div class="imgedit-submit">
122122

123123
<fieldset class="imgedit-scale">

src/wp-admin/install.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,9 @@ function display_setup_form( $error = null ) {
426426
<tr>
427427
<th><?php _e( 'Password' ); ?></th>
428428
<td>
429-
<?php
430-
if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) :
431-
?>
432-
<code><?php echo esc_html( $result['password'] ); ?></code><br />
433-
<?php endif ?>
429+
<?php if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) : ?>
430+
<code><?php echo esc_html( $result['password'] ); ?></code><br />
431+
<?php endif; ?>
434432
<p><?php echo $result['password_message']; ?></p>
435433
</td>
436434
</tr>

src/wp-admin/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
<textarea class="<?php echo $class; ?>" name="<?php echo $name; ?>" id="<?php echo $name; ?>" cols="30" rows="5"><?php echo esc_textarea( $value ); ?></textarea>
393393
<?php else : ?>
394394
<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 ); ?> />
395-
<?php endif ?></td>
395+
<?php endif; ?></td>
396396
</tr>
397397
<?php endforeach; ?>
398398
</table>

src/wp-includes/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2793,7 +2793,7 @@ function wp_playlist_shortcode( $attr ) {
27932793
<div class="wp-playlist wp-<?php echo $safe_type; ?>-playlist wp-playlist-<?php echo $safe_style; ?>">
27942794
<?php if ( 'audio' === $atts['type'] ) : ?>
27952795
<div class="wp-playlist-current-item"></div>
2796-
<?php endif ?>
2796+
<?php endif; ?>
27972797
<<?php echo $safe_type; ?> controls="controls" preload="none" width="<?php echo (int) $theme_width; ?>"
27982798
<?php
27992799
if ( 'video' === $safe_type ) {

0 commit comments

Comments
 (0)