WordPress.org

Make WordPress Core

Changeset 22757


Ignore:
Timestamp:
11/21/2012 01:32:26 PM (8 years ago)
Author:
nacin
Message:

Properly nest the if tag. props helenyhou. see #21391.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r22755 r22757  
    22882288            <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea>
    22892289        </p>
     2290
    22902291    <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?>
    22912292        <p>
     
    22932294            <input type="text" class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" value="<?php echo esc_attr( $alt_text ); ?>" />
    22942295        </p>
     2296    <?php endif; ?>
     2297
    22952298    </div>
    22962299    <?php
    2297     endif;
    22982300}
    22992301
Note: See TracChangeset for help on using the changeset viewer.