WordPress.org

Make WordPress Core

Ticket #16555: ticket.16555.diff

File ticket.16555.diff, 989 bytes (added by ptahdunbar, 4 years ago)
  • wp-admin/includes/meta-boxes.php

     
    255255        ?> 
    256256        <div id="post-formats-select"> 
    257257                <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0"><?php _e('Standard'); ?></label> 
    258                 <?php foreach ( $post_formats[0] as $format ) : ?> 
     258                <?php foreach ( $post_formats[0] as $format ) : if ( 'standard' == $format ) continue; ?> 
    259259                <br /><input type="radio" name="post_format" class="post-format" id="post-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $post_format, $format ); ?> /> <label for="post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label> 
    260260                <?php endforeach; ?><br /> 
    261261        </div>