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/import/jkw.php

    r11173 r11204  
    3535        echo '<form action="admin.php?import=jkw&amp;step=1" method="post">';
    3636        wp_nonce_field('import-jkw');
    37         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Import Version 1.x').'" /></p>';
     37        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 1.x').'" /></p>';
    3838        echo '</form>';
    3939        echo '<form action="admin.php?import=jkw&amp;step=3" method="post">';
    4040        wp_nonce_field('import-jkw');
    41         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Import Version 2.0a').'" /></p>';
     41        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 2.0a').'" /></p>';
    4242        echo '</form>';
    4343        echo '</div>';
     
    121121        echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 2:6).'" method="post">';
    122122        wp_nonce_field('import-jkw');
    123         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Next').'" /></p>';
     123        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
    124124        echo '</form>';
    125125        echo '</div>';
     
    154154        echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 4:5).'" method="post">';
    155155        wp_nonce_field('import-jkw');
    156         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Next').'" /></p>';
     156        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
    157157        echo '</form>';
    158158        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.