PluginProbe
WP Directory Kit / 1.4.8
WP Directory Kit v1.4.8
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
← All changes | custom_user_fields.php +4 -5 trunk1.4.8 View file →
@@ -14,19 +14,18 @@
14 14 function wdk_extra_user_profile_fields( $user,$wdk_user_fields_list ) {
15 15 ?>
16 16 <div class="wdk_postbox" style="display: block;">
17 17 <div class="wdk_postbox-header">
18 - <h3><?php esc_html_e("Directory Profile Info", "wpdirectorykit"); ?></h3>
18 + <h3><?php _e("Directory Profile Info", "wpdirectorykit"); ?></h3>
19 19 </div>
20 20 <div class="wdk_inside">
21 21 <table class="form-table">
22 22 <?php foreach($wdk_user_fields_list as $field_id => $field_name):?>
23 23 <tr>
24 -
25 - <th><label for="user_field_<?php echo esc_html($field_id);?>"><?php echo esc_html($field_name); ?></label></th>
24 + <th><label for="user_field_<?php echo esc_html($field_id);?>"><?php echo esc_html__($field_name, 'wpdirectorykit'); ?></label></th>
26 25 <td>
27 - <input type="text" name="<?php echo esc_attr($field_id);?>" id="user_field_<?php echo esc_html($field_id);?>" value="<?php echo esc_attr( get_the_author_meta( $field_id, $user->ID ) ); ?>" class="regular-text" /><br />
28 - <span class="description"><?php esc_html_e("Please enter your",'wpdirectorykit'); ?> <?php echo esc_html($field_name); ?>.</span>
26 + <input type="text" name="<?php echo esc_html($field_id);?>" id="user_field_<?php echo esc_html($field_id);?>" value="<?php echo esc_attr( get_the_author_meta( $field_id, $user->ID ) ); ?>" class="regular-text" /><br />
27 + <span class="description"><?php _e("Please enter your",'wpdirectorykit'); ?> <?php echo esc_html__($field_name, 'wpdirectorykit'); ?>.</span>
29 28 </td>
30 29 </tr>
31 30 <?php endforeach;?>
32 31 </table>