WordPress.org

Make WordPress Core

Ticket #23503: 23503.7.patch

File 23503.7.patch, 1.3 KB (added by johnbillion, 10 months ago)
  • wp-admin/includes/meta-boxes.php

     
    315315                        $post_formats[0][] = $post_format; 
    316316        ?> 
    317317        <div id="post-formats-select"> 
    318                 <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" class="post-format-icon post-format-standard"><?php _e('Standard'); ?></label> 
     318                <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" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label> 
    319319                <?php foreach ( $post_formats[0] as $format ) : ?> 
    320320                <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 ); ?>" class="post-format-icon post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label> 
    321321                <?php endforeach; ?><br />