echo '<p><strong>'.__('Don’t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=jkw&step=1" method="post">';
wp_nonce_field('import-jkw');
- echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 1.x').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 1.x').'" /></p>';
echo '</form>';
echo '<form action="admin.php?import=jkw&step=3" method="post">';
wp_nonce_field('import-jkw');
- echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 2.0a').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Version 2.0a').'" /></p>';
echo '</form>';
echo '</div>';
}
return false;
} else {
$count = count($metakeys);
- echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
+ echo '<p>' . sprintf( _n('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
echo '<ul>';
foreach ( $metakeys as $post_meta ) {
if ( $post_meta->meta_value != '' ) {
echo '<form action="admin.php?import=jkw&step='.($precheck? 2:6).'" method="post">';
wp_nonce_field('import-jkw');
- echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
echo '</form>';
echo '</div>';
}
return false;
} else {
$count = count($metakeys);
- echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag were read.', 'Done! <strong>%s</strong> tags were read.', $count), $count ) . '<br /></p>';
+ echo '<p>' . sprintf( _n('Done! <strong>%s</strong> tag were read.', 'Done! <strong>%s</strong> tags were read.', $count), $count ) . '<br /></p>';
echo '<ul>';
foreach ( $metakeys as $post_meta ) {
$keyword = addslashes(trim($post_meta->tag_name));
}
echo '<form action="admin.php?import=jkw&step='.($precheck? 4:5).'" method="post">';
wp_nonce_field('import-jkw');
- echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
echo '</form>';
echo '</div>';
}