Merge pull request #22110 from stromhalm/patch-1

Properly close option tag in customer search
This commit is contained in:
Rodrigo Primo 2018-12-06 12:18:54 -02:00 committed by GitHub
commit 164758a5f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ defined( 'ABSPATH' ) || exit;
);
?>
<select class="wc-customer-search" id="key_user" data-placeholder="<?php esc_attr_e( 'Search for a user&hellip;', 'woocommerce' ); ?>" data-allow_clear="true">
<option value="<?php echo esc_attr( $user_id ); ?>" selected="selected"><?php echo esc_html( $user_string ); ?><option>
<option value="<?php echo esc_attr( $user_id ); ?>" selected="selected"><?php echo esc_html( $user_string ); ?></option>
</select>
</td>
</tr>