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

    r11110 r11204  
    4343foreach ( $authors as $id ) {
    4444    $o = get_userdata( $id );
    45     echo "<option value='" . attr($o->ID) . "'>$o->display_name</option>";
     45    echo "<option value='" . esc_attr($o->ID) . "'>$o->display_name</option>";
    4646}
    4747?>
     
    5050</tr>
    5151</table>
    52 <p class="submit"><input type="submit" name="submit" class="button" value="<?php _ea('Download Export File'); ?>" />
     52<p class="submit"><input type="submit" name="submit" class="button" value="<?php esc_attr_e('Download Export File'); ?>" />
    5353<input type="hidden" name="download" value="true" />
    5454</p>
Note: See TracChangeset for help on using the changeset viewer.