Make WordPress Core


Ignore:
Timestamp:
06/27/2013 06:56:45 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Consistently use get_post_format_string() to get Standard post format name with the correct context. props johnbillion. fixes #23503.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r24207 r24522  
    477477                        <label for="post_format"><?php _e( 'Post Format:' ); ?>
    478478                        <select name="post_format" id="post_format">
    479                             <option value="0"><?php _ex( 'Standard', 'Post format' ); ?></option>
     479                            <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option>
    480480                        <?php foreach ( $post_formats[0] as $format ): ?>
    481481                            <option<?php selected( $default_format, $format ); ?> value="<?php echo esc_attr( $format ); ?>"> <?php echo esc_html( get_post_format_string( $format ) ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.