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

    r11173 r11204  
    3434        echo '<form action="admin.php?import=stp&amp;step=1" method="post">';
    3535        wp_nonce_field('import-stp');
    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>';
     
    9494        echo '<form action="admin.php?import=stp&amp;step=2" method="post">';
    9595        wp_nonce_field('import-stp');
    96         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 2').'" /></p>';
     96        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 2').'" /></p>';
    9797        echo '</form>';
    9898        echo '</div>';
     
    110110        echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
    111111        wp_nonce_field('import-stp');
    112         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Step 3').'" /></p>';
     112        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Step 3').'" /></p>';
    113113        echo '</form>';
    114114        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.