Skip to:
Content

BuddyPress.org

Changeset 12189


Ignore:
Timestamp:
07/12/2018 03:33:58 PM (17 months ago)
Author:
boonebgorges
Message:

Nouveau: Fix id attribute on delete-account page.

Previously, there was a mismatch that caused the label to be incorrectly
linked to its input element.

Props mercime.
Fixes #7924.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/delete-account.php

    r12156 r12189  
    1717<form action="<?php echo esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/delete-account' ); ?>" name="account-delete-form" id="#account-delete-form" class="standard-form" method="post">
    1818
    19     <label id="delete-account-understand" class="warn" for="delete-account-understand">
    20         <input class="disabled" type="checkbox" name="delete-account-understand" value="1" data-bp-disable-input="#delete-account-button" />
     19    <label class="warn" for="delete-account-understand">
     20        <input id="delete-account-understand" class="disabled" type="checkbox" name="delete-account-understand" value="1" data-bp-disable-input="#delete-account-button" />
    2121        <?php esc_html_e( 'I understand the consequences.', 'buddypress' ); ?>
    2222    </label>
Note: See TracChangeset for help on using the changeset viewer.