• Resolved Tory

    (@tmac187)


    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)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible HTML Error’ is closed to new replies.