Fix inconsistent id attributes. props kovshenin. fixes #24006.

git-svn-id: http://core.svn.wordpress.org/trunk@23939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-04-09 17:08:25 +00:00
parent 09317ba345
commit af0815a45c
1 changed files with 8 additions and 8 deletions

View File

@ -9,13 +9,13 @@ $format_meta = get_post_format_meta( $post_ID );
<input type="hidden" name="post_format" id="post_format" value="<?php echo esc_attr( $post_format ); ?>" />
<div class="field wp-format-quote">
<label for="_wp_format_quote"><?php _e( 'Quote' ); ?></label>
<textarea id="_wp_format_quote" name="_wp_format_quote" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea>
<label for="wp_format_quote"><?php _e( 'Quote' ); ?></label>
<textarea id="wp_format_quote" name="_wp_format_quote" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea>
</div>
<div class="field wp-format-quote">
<label for="_wp_format_quote_source"><?php _e( 'Quote source' ); ?></label>
<input type="text" id="_wp_format_quote_source" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" class="widefat" />
<label for="wp_format_quote_source"><?php _e( 'Quote source' ); ?></label>
<input type="text" id="wp_format_quote_source" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" class="widefat" />
</div>
<?php
@ -42,8 +42,8 @@ $format_meta = get_post_format_meta( $post_ID );
</div>
<div class="field wp-format-link wp-format-quote wp-format-image">
<label for="_wp_format_url"><?php _e( 'Link URL' ); ?></label>
<input type="text" id="_wp_format_url" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat" />
<label for="wp_format_url"><?php _e( 'Link URL' ); ?></label>
<input type="text" id="wp_format_url" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat" />
</div>
<?php
@ -69,7 +69,7 @@ $format_meta = get_post_format_meta( $post_ID );
?>
</div>
<?php endif; ?>
<label for="_wp_format_video"><?php _e( 'Video embed code or URL' ); ?></label>
<label for="wp_format_video"><?php _e( 'Video embed code or URL' ); ?></label>
<textarea id="wp_format_video" type="text" name="_wp_format_video" class="widefat"><?php esc_html_e( $format_meta['video'] ); ?></textarea>
<div data-format="video" class="wp-format-media-holder hide-if-no-js<?php if ( ! $image ) echo ' empty'; ?>">
<a href="#" class="wp-format-media-select"
@ -103,7 +103,7 @@ $format_meta = get_post_format_meta( $post_ID );
?>
</div>
<?php endif; ?>
<label for="_wp_format_audio"><?php _e( 'Audio embed code or URL' ); ?></label>
<label for="wp_format_audio"><?php _e( 'Audio embed code or URL' ); ?></label>
<textarea id="wp_format_audio" name="_wp_format_audio" class="widefat"><?php esc_html_e( $format_meta['audio'] );
?></textarea>
<div data-format="audio" class="wp-format-media-holder hide-if-no-js<?php if ( empty( $format_meta['audio'] ) ) echo ' empty'; ?>">