Changeset 11204 for trunk/wp-admin/import/mt.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r11190 r11204 40 40 41 41 <?php wp_import_upload_form( add_query_arg('step', 1) ); ?> 42 <form method="post" action="<?php echo attr(add_query_arg('step', 1)); ?>" class="import-upload-form">42 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)); ?>" class="import-upload-form"> 43 43 44 44 <?php wp_nonce_field('import-upload'); ?> … … 47 47 <?php _e('Or use <code>mt-export.txt</code> in your <code>/wp-content/</code> directory'); ?></p> 48 48 <p class="submit"> 49 <input type="submit" class="button" value="<?php _ea('Import mt-export.txt'); ?>" />49 <input type="submit" class="button" value="<?php esc_attr_e('Import mt-export.txt'); ?>" /> 50 50 </p> 51 51 </form> … … 208 208 foreach ($authors as $author) { 209 209 ++ $j; 210 echo '<li><label>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'. attr($author) .'" name="'.'user[]'.'" maxlength="30"> <br />');210 echo '<li><label>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'. esc_attr($author) .'" name="'.'user[]'.'" maxlength="30"> <br />'); 211 211 $this->users_form($j); 212 212 echo '</label></li>'; 213 213 } 214 214 215 echo '<p class="submit"><input type="submit" class="button" value="'. _a('Submit').'"></p>'.'<br />';215 echo '<p class="submit"><input type="submit" class="button" value="'.esc_attr__('Submit').'"></p>'.'<br />'; 216 216 echo '</form>'; 217 217 echo '</ol></div>';
Note: See TracChangeset
for help on using the changeset viewer.