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

buddypress-trac noreply at wordpress.org
Mon Apr 28 19:27:44 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 DJPaul):

 This is one of those quirks that existed only in the registration template
 files, and nowhere else. My bad for missing it.

 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. I don't know if this
 matters, but it is a change.

 I can only find the action used in `bp_core_screen_signup()`. Triggering
 form validation on the user profile/edit screen doesn't result in two
 messages, so I guess the patch is OK. Sometime in the future we should
 probably move the registration action over to use the validation messaging
 that the rest of the profile screens use.

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


More information about the buddypress-trac mailing list