Skip to:
Content

BuddyPress.org

Ticket #6887: 6887.patch

File 6887.patch, 1.4 KB (added by mercime, 9 years ago)
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php

     
    9999                         */
    100100                        do_action( bp_get_the_profile_field_errors_action() ); ?>
    101101
     102                        <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="bp-screen-reader-text"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label>
    102103                        <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>>
    103104                                <?php bp_the_profile_field_options( array(
    104105                                        'type'    => 'day',
     
    106107                                ) ); ?>
    107108                        </select>
    108109
     110                        <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="bp-screen-reader-text"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label>
    109111                        <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>>
    110112                                <?php bp_the_profile_field_options( array(
    111113                                        'type'    => 'month',
     
    113115                                ) ); ?>
    114116                        </select>
    115117
     118                        <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="bp-screen-reader-text"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label>
    116119                        <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>>
    117120                                <?php bp_the_profile_field_options( array(
    118121                                        'type'    => 'year',