Make WordPress Core

Changeset 50560


Ignore:
Timestamp:
03/21/2021 01:03:14 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add missing semicolon to some endif keywords.

See #52627.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image-edit.php

    r49927 r50560  
    118118            ?>
    119119        </p>
    120         <?php endif ?>
     120        <?php endif; ?>
    121121        <div class="imgedit-submit">
    122122
  • trunk/src/wp-admin/install.php

    r48172 r50560  
    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>
  • trunk/src/wp-admin/options.php

    r50373 r50560  
    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; ?>
  • trunk/src/wp-includes/media.php

    r50552 r50560  
    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
Note: See TracChangeset for help on using the changeset viewer.