Skip to:
Content

bbPress.org

Changeset 4227


Ignore:
Timestamp:
09/25/2012 12:42:43 AM (13 years ago)
Author:
johnjamesjacoby
Message:

User Edit:

  • Use $name variable instead of literal 'name' text in form-user-edit.php.
  • Fixes issue with displaying and saving extra user contact methods.
  • Fixes #1955.
  • Props piecheff.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-themes/bbp-default/bbpress/form-user-edit.php

    r4226 r4227  
    6363            <div>
    6464                <label for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label>
    65                 <input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'name' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
     65                <input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( bbp_get_displayed_user_field( $name ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
    6666            </div>
    6767
Note: See TracChangeset for help on using the changeset viewer.