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-pages.php

    r11180 r11204  
    172172    <label class="invisible" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label>
    173173    <input type="text" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    174     <input type="submit" value="<?php _ea( 'Search Pages' ); ?>" class="button" />
     174    <input type="submit" value="<?php esc_attr_e( 'Search Pages' ); ?>" class="button" />
    175175</p>
    176176
    177177<?php if ( isset($_GET['post_status'] ) ) : ?>
    178 <input type="hidden" name="post_status" value="<?php echo attr($_GET['post_status']) ?>" />
     178<input type="hidden" name="post_status" value="<?php echo esc_attr($_GET['post_status']) ?>" />
    179179<?php endif; ?>
    180180
     
    216216<option value="delete"><?php _e('Delete'); ?></option>
    217217</select>
    218 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
     218<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    219219<?php wp_nonce_field('bulk-pages'); ?>
    220220</div>
     
    255255<option value="delete"><?php _e('Delete'); ?></option>
    256256</select>
    257 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
     257<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
    258258</div>
    259259
Note: See TracChangeset for help on using the changeset viewer.