[buddypress-trac] [BuddyPress Trac] #5595: XProfile: Required fields do not show error message on failure

buddypress-trac noreply at wordpress.org
Wed Apr 30 18:40:43 UTC 2014


#5595: XProfile: Required fields do not show error message on failure
------------------------------+--------------------
 Reporter:  r-a-y             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.0.1
Component:  XProfile          |     Version:  2.0
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by r-a-y):

 > Ray's patch amends the line to each field type's edit_field_html() which
 is the right place, but adding anything here will also appear in the user
 profile/edit and the wp-admin profile/edit templates.

 The admin dashboard user profile uses a different method -
 `admin_field_html()` - to output the xprofile field HTML.  So this patch
 only affects the frontend.

 > If we're worried about the inconsistency, and want a more conservative
 fix for 2.0.1, we could only fire the action if ( bp_is_register_page() )

 Right, perhaps the registration page check and go directly in the
 `bp_get_the_profile_field_errors_action()` function?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5595#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list