Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (15 years ago)
Author:
markjaquith
Message:

_a(), _ea(), _xa(), attr() are now esc_attr(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r11180 r11204  
    161161    <label class="invisible" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
    162162    <input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    163     <input type="submit" value="<?php _ea( 'Search Tags' ); ?>" class="button" />
     163    <input type="submit" value="<?php esc_attr_e( 'Search Tags' ); ?>" class="button" />
    164164</p>
    165165</form>
     
    171171<div class="col-wrap">
    172172<form id="posts-filter" action="" method="get">
    173 <input type="hidden" name="taxonomy" value="<?php echo attr($taxonomy); ?>" />
     173<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
    174174<div class="tablenav">
    175175<?php
     
    202202<option value="delete"><?php _e('Delete'); ?></option>
    203203</select>
    204 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
     204<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    205205<?php wp_nonce_field('bulk-tags'); ?>
    206206</div>
     
    245245<option value="delete"><?php _e('Delete'); ?></option>
    246246</select>
    247 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
     247<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
    248248</div>
    249249
     
    277277<form name="addtag" id="addtag" method="post" action="edit-tags.php" class="add:the-list: validate">
    278278<input type="hidden" name="action" value="addtag" />
    279 <input type="hidden" name="taxonomy" value="<?php echo attr($taxonomy); ?>" />
     279<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
    280280<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-tag'); ?>
    281281
     
    298298</div>
    299299
    300 <p class="submit"><input type="submit" class="button" name="submit" value="<?php _ea('Add Tag'); ?>" /></p>
     300<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Tag'); ?>" /></p>
    301301<?php do_action('add_tag_form'); ?>
    302302</form></div>
Note: See TracChangeset for help on using the changeset viewer.