Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (16 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/utw.php

    r11173 r11204  
    3434        echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
    3535        echo '<form action="admin.php?import=utw&amp;step=1" method="post">';
    36         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 1').'" /></p>';
     36        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 1').'" /></p>';
    3737        echo '</form>';
    3838        echo '</div>';
     
    121121        echo '<form action="admin.php?import=utw&amp;step=2" method="post">';
    122122        wp_nonce_field('import-utw');
    123         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 2').'" /></p>';
     123        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 2').'" /></p>';
    124124        echo '</form>';
    125125        echo '</div>';
     
    157157        echo '<form action="admin.php?import=utw&amp;step=3" method="post">';
    158158        wp_nonce_field('import-utw');
    159         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 3').'" /></p>';
     159        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 3').'" /></p>';
    160160        echo '</form>';
    161161        echo '</div>';
     
    176176        echo '<form action="admin.php?import=utw&amp;step=4" method="post">';
    177177        wp_nonce_field('import-utw');
    178         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 4').'" /></p>';
     178        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 4').'" /></p>';
    179179        echo '</form>';
    180180        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.