Title: Possible HTML Error
Last modified: January 5, 2024

---

# Possible HTML Error

 *  Resolved [Tory](https://wordpress.org/support/users/tmac187/)
 * (@tmac187)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/possible-html-error/)
 * FYI – there is a mistake in the HTML syntax. Specifically, the closing tag for
   the label is incorrect in public function bbpress_user_profile(). On line 462,
   It is written as <label> instead of </label>. This results in the opening of 
   a new label without closing the previous one, which leads to a nesting of labels.
   I assume this is incorrect, as it looks bad on the UI side.
 * The corrected line should look like this:
 * `echo '<input type="checkbox" name="basic-user-avatar-erase" id="basic-user-avatar-
   erase" value="1" style="width:auto" /> <label for="basic-user-avatar-erase">'.
   apply_filters( 'bu_avatars_delete_avatar_text', __( 'Delete local avatar', 'basic-
   user-avatars' ), $profileuser ) . '</label><br />';`
 * This will properly close the label, and you won’t have a label nested inside 
   another label.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jarryd Long](https://wordpress.org/support/users/jarryd-long/)
 * (@jarryd-long)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/possible-html-error/#post-17324868)
 * Hi [@tmac187](https://wordpress.org/support/users/tmac187/), thank you for reaching
   out to us and for bringing this issue to our attention.
 * I’ve pushed a fix that closes the label tag in this case. This fix can be followed
   here [https://github.com/strangerstudios/Basic-User-Avatars/pull/77](https://github.com/strangerstudios/Basic-User-Avatars/pull/77)
   and will likely be included in the next update we release.
 *  Thread Starter [Tory](https://wordpress.org/support/users/tmac187/)
 * (@tmac187)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/possible-html-error/#post-17326173)
 * Great, thanks!
 *  [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/possible-html-error/#post-17365921)
 * Thank you for your patience [@tmac187](https://wordpress.org/support/users/tmac187/),
   the update has just gone out that includes this fix.
 * Please can you update to version 1.0.8

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Possible HTML Error’ is closed to new replies.

 * ![](https://ps.w.org/basic-user-avatars/assets/icon-256x256.png?rev=2560641)
 * [Basic User Avatars](https://wordpress.org/plugins/basic-user-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-user-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-user-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-user-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-user-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-user-avatars/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/possible-html-error/#post-17365921)
 * Status: resolved