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

    r11190 r11204  
    216216        wp_nonce_field('import-dotclear');
    217217        $this->db_form();
    218         echo '<p class="submit"><input type="submit" name="submit" class="button" value="'._a('Import Categories').'" /></p>';
     218        echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Categories').'" /></p>';
    219219        echo '</form></div>';
    220220    }
     
    633633        echo '<form action="admin.php?import=dotclear&amp;step=2" method="post">';
    634634        wp_nonce_field('import-dotclear');
    635         printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', _a('Import Users'));
     635        printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', esc_attr__('Import Users'));
    636636        echo '</form>';
    637637
     
    646646        echo '<form action="admin.php?import=dotclear&amp;step=3" method="post">';
    647647        wp_nonce_field('import-dotclear');
    648         printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', _a('Import Posts'));
     648        printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', esc_attr__('Import Posts'));
    649649        echo '</form>';
    650650    }
     
    660660        echo '<form action="admin.php?import=dotclear&amp;step=4" method="post">';
    661661        wp_nonce_field('import-dotclear');
    662         printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', _a('Import Comments'));
     662        printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', esc_attr__('Import Comments'));
    663663        echo '</form>';
    664664    }
     
    672672        echo '<form action="admin.php?import=dotclear&amp;step=5" method="post">';
    673673        wp_nonce_field('import-dotclear');
    674         printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', _a('Import Links'));
     674        printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', esc_attr__('Import Links'));
    675675        echo '</form>';
    676676    }
     
    685685        echo '<form action="admin.php?import=dotclear&amp;step=6" method="post">';
    686686        wp_nonce_field('import-dotclear');
    687         printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', _a('Finish'));
     687        printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', esc_attr__('Finish'));
    688688        echo '</form>';
    689689    }
Note: See TracChangeset for help on using the changeset viewer.