WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/28/2016 06:05:02 PM (4 years ago)
Author:
johnbillion
Message:

I18N: Correct various instances of incorrect usage of esc_attr_e().

Fixes #37457
Props henry.wright, afercia

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-editor.php

    r37914 r38424  
    264264        <label for="docs-list"><?php _e('Documentation:') ?></label>
    265265        <?php echo $docs_select; ?>
    266         <input type="button" class="button" value=" <?php esc_attr_e( 'Look Up' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( $wp_version ) ?>&amp;redirect=true'); }" />
     266        <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( $wp_version ) ?>&amp;redirect=true'); }" />
    267267        </div>
    268268    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.