mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Use esc_attr_e() instead of _e() for attribute values.
props DJPaul. fixes #27274. Built from https://develop.svn.wordpress.org/trunk@27400 git-svn-id: http://core.svn.wordpress.org/trunk@27247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f31ac162f5
commit
3533e3575f
@ -656,7 +656,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<span class="submit-btn"><input type="submit" class="button-secondary" value="<?php _e( 'Select' ); ?>"></span>
|
||||
<span class="submit-btn"><input type="submit" class="button-secondary" value="<?php esc_attr_e( 'Select' ); ?>"></span>
|
||||
<span class="add-new-menu-action">
|
||||
<?php printf( __( 'or <a href="%s">create a new menu</a>.' ), esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => 0 ), admin_url( 'nav-menus.php' ) ) ) ); ?>
|
||||
</span><!-- /add-new-menu-action -->
|
||||
|
@ -152,11 +152,11 @@ function wp_print_media_templates() {
|
||||
<# } #>
|
||||
|
||||
<# if ( data.buttons.close ) { #>
|
||||
<a class="close media-modal-icon" href="#" title="<?php _e('Remove'); ?>"></a>
|
||||
<a class="close media-modal-icon" href="#" title="<?php esc_attr_e('Remove'); ?>"></a>
|
||||
<# } #>
|
||||
|
||||
<# if ( data.buttons.check ) { #>
|
||||
<a class="check" href="#" title="<?php _e('Deselect'); ?>"><div class="media-modal-icon"></div></a>
|
||||
<a class="check" href="#" title="<?php esc_attr_e('Deselect'); ?>"><div class="media-modal-icon"></div></a>
|
||||
<# } #>
|
||||
</div>
|
||||
<#
|
||||
|
Loading…
Reference in New Issue
Block a user