Skip to content

Commit

Permalink
Fix attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
janschoenherr committed Dec 2, 2024
1 parent 057c04e commit 9cf6f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CB/CB1UserFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class="regular-text"/><br/>
<tr>
<th><label for="address"><?php esc_html_e( 'Address', 'commonsbooking' ); ?></label></th>
<td>
<input type="textarea" name="address" id="address"
<input type="text" name="address" id="address"
value="<?php echo esc_attr( get_the_author_meta( 'address', $user->ID ) ); ?>"
class="regular-text"/><br/>
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/Wordpress/Widget/UserWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function form( $instance ) {
<p>
<label for="<?php echo esc_attr( $this->get_field_id( 'Text' ) ); ?>"><?php echo esc_html__( 'Text:', 'commonsbooking' ); ?></label>
<textarea class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'text' ) ); ?>"
name="<?php echo esc_attr( $this->get_field_name( 'text' ) ); ?>" type="text" cols="30"
name="<?php echo esc_attr( $this->get_field_name( 'text' ) ); ?>" cols="30"
rows="10"><?php echo esc_attr( $text ); ?></textarea>
</p>
<?php
Expand Down

0 comments on commit 9cf6f26

Please sign in to comment.