Merge pull request #22663 from woocommerce/fix/22559
Switch span to paragraph in user profile view
This commit is contained in:
commit
1fe8af6af6
|
@ -186,8 +186,7 @@ if ( ! class_exists( 'WC_Admin_Profile', false ) ) :
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $this->get_user_meta( $user->ID, $key ) ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
|
<input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $this->get_user_meta( $user->ID, $key ) ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<br/>
|
<p class="description"><?php echo wp_kses_post( $field['description'] ); ?></p>
|
||||||
<span class="description"><?php echo wp_kses_post( $field['description'] ); ?></span>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
Loading…
Reference in New Issue