Skip to:
Content

BuddyPress.org

Changeset 8338


Ignore:
Timestamp:
05/01/2014 10:42:55 PM (11 years ago)
Author:
djpaul
Message:

xProfile: fix profile field validation messages not showing on registration template.

Fixes #5595, props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r8336 r8338  
    15151515
    15161516            <label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     1517            <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    15171518
    15181519            <select <?php echo $day_html; ?>>
     
    17391740
    17401741            <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     1742            <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    17411743            <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
    17421744
     
    18761878
    18771879            <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     1880            <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    18781881            <?php bp_the_profile_field_options( "user_id={$user_id}" );
    18791882
     
    20202023    ?>
    20212024        <label for="<?php bp_the_profile_field_input_name(); ?>[]"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     2025        <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    20222026        <select <?php echo $html; ?>>
    20232027            <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
     
    21642168    ?>
    21652169        <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     2170        <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    21662171        <select <?php echo $html; ?>>
    21672172            <?php bp_the_profile_field_options( "user_id={$user_id}" ); ?>
     
    23032308    ?>
    23042309        <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     2310        <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    23052311        <textarea <?php echo $html; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>
    23062312    <?php
     
    23852391    ?>
    23862392        <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     2393        <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    23872394        <input <?php echo $html; ?>>
    23882395    <?php
     
    24642471    ?>
    24652472        <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php esc_html_e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
     2473        <?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    24662474        <input <?php echo $html; ?>>
    24672475    <?php
Note: See TracChangeset for help on using the changeset viewer.