Remove unnecessary label, placeholder, and class for a hidden input. see #23938.
git-svn-id: https://develop.svn.wordpress.org/trunk@23931 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
120caba65a
commit
f7857ce942
|
@ -38,8 +38,7 @@ $format_meta = get_post_format_meta( $post_ID );
|
|||
?>
|
||||
</a>
|
||||
</div>
|
||||
<label for="_wp_format_image" class="screen-reader-text"><?php _e( 'Attachment ID' ); ?></label>
|
||||
<input id="wp_format_image" type="hidden" name="_wp_format_image" value="<?php echo esc_attr( $format_meta['image'] ); ?>" placeholder="<?php esc_attr_e( 'Attachment ID' ); ?>" class="widefat" />
|
||||
<input id="wp_format_image" type="hidden" name="_wp_format_image" value="<?php echo esc_attr( $format_meta['image'] ); ?>" />
|
||||
</div>
|
||||
|
||||
<div class="field wp-format-link wp-format-quote wp-format-image">
|
||||
|
|
Loading…
Reference in New Issue