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:
Helen Hou-Sandi 2013-04-07 16:49:56 +00:00
parent 120caba65a
commit f7857ce942
1 changed files with 1 additions and 2 deletions

View File

@ -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">