WordPress.org

Make WordPress Core

Changeset 23939


Ignore:
Timestamp:
04/09/13 17:08:25 (12 months ago)
Author:
SergeyBiryukov
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post-formats.php

    r23931 r23939  
    1010 
    1111    <div class="field wp-format-quote"> 
    12         <label for="_wp_format_quote"><?php _e( 'Quote' ); ?></label> 
    13         <textarea id="_wp_format_quote" name="_wp_format_quote" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea> 
     12        <label for="wp_format_quote"><?php _e( 'Quote' ); ?></label> 
     13        <textarea id="wp_format_quote" name="_wp_format_quote" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea> 
    1414    </div> 
    1515 
    1616    <div class="field wp-format-quote"> 
    17         <label for="_wp_format_quote_source"><?php _e( 'Quote source' ); ?></label> 
    18         <input type="text" id="_wp_format_quote_source" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" class="widefat" /> 
     17        <label for="wp_format_quote_source"><?php _e( 'Quote source' ); ?></label> 
     18        <input type="text" id="wp_format_quote_source" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" class="widefat" /> 
    1919    </div> 
    2020 
     
    4343 
    4444    <div class="field wp-format-link wp-format-quote wp-format-image"> 
    45         <label for="_wp_format_url"><?php _e( 'Link URL' ); ?></label> 
    46         <input type="text" id="_wp_format_url" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat" /> 
     45        <label for="wp_format_url"><?php _e( 'Link URL' ); ?></label> 
     46        <input type="text" id="wp_format_url" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" class="widefat" /> 
    4747    </div> 
    4848 
     
    7070        </div> 
    7171        <?php endif; ?> 
    72         <label for="_wp_format_video"><?php _e( 'Video embed code or URL' ); ?></label> 
     72        <label for="wp_format_video"><?php _e( 'Video embed code or URL' ); ?></label> 
    7373        <textarea id="wp_format_video" type="text" name="_wp_format_video" class="widefat"><?php esc_html_e( $format_meta['video'] ); ?></textarea> 
    7474        <div data-format="video" class="wp-format-media-holder hide-if-no-js<?php if ( ! $image ) echo ' empty'; ?>"> 
     
    104104        </div> 
    105105        <?php endif; ?> 
    106         <label for="_wp_format_audio"><?php _e( 'Audio embed code or URL' ); ?></label> 
     106        <label for="wp_format_audio"><?php _e( 'Audio embed code or URL' ); ?></label> 
    107107        <textarea id="wp_format_audio" name="_wp_format_audio" class="widefat"><?php esc_html_e( $format_meta['audio'] ); 
    108108?></textarea> 
Note: See TracChangeset for help on using the changeset viewer.