WordPress.org

Make WordPress Core

Ticket #24300: 24300.diff

File 24300.diff, 919 bytes (added by tollmanz, 22 months ago)
  • wp-admin/includes/post-formats.php

    diff --git a/wp-admin/includes/post-formats.php b/wp-admin/includes/post-formats.php
    index 1409098..69ee5bc 100644
    a b wp_nonce_field( 'show-post-format-ui_' . $post_type, 'show_post_format_ui_nonce' 
    5353                                        else 
    5454                                                _e( 'Image URL' ); 
    5555                                ?></label> 
    56                                 <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php esc_html_e( $format_meta['image'] ); ?></textarea> 
     56                                <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php echo esc_html( $format_meta['image'] ); ?></textarea> 
    5757                        </div> 
    5858                        <p class="use-url-or-html hide-if-no-js"><span><?php printf( __( '(or %suse an image URL or HTML%s)' ), '<a href="#">', '</a>' ); ?></span> 
    5959                                <span style="display: none"><?php printf( __( '(or %sselect/upload an image%s)' ), '<a href="#">', '</a>' ); ?></span></p>