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/categories.php

    r11180 r11204  
    145145    <label class="invisible" for="category-search-input"><?php _e('Search Categories'); ?>:</label>
    146146    <input type="text" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    147     <input type="submit" value="<?php _ea( 'Search Categories' ); ?>" class="button" />
     147    <input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" />
    148148</p>
    149149</form>
     
    190190<option value="delete"><?php _e('Delete'); ?></option>
    191191</select>
    192 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
     192<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    193193<?php wp_nonce_field('bulk-categories'); ?>
    194194</div>
     
    230230<option value="delete"><?php _e('Delete'); ?></option>
    231231</select>
    232 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
     232<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
    233233<?php wp_nonce_field('bulk-categories'); ?>
    234234</div>
     
    284284</div>
    285285
    286 <p class="submit"><input type="submit" class="button" name="submit" value="<?php _ea('Add Category'); ?>" /></p>
     286<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p>
    287287<?php do_action('edit_category_form', $category); ?>
    288288</form></div>
Note: See TracChangeset for help on using the changeset viewer.