[buddypress-trac] [BuddyPress Trac] #8276: Add action filter to bp-xprofile > screens > edit.php

buddypress-trac noreply at wordpress.org
Tue Apr 14 05:02:29 UTC 2020


#8276: Add action filter to bp-xprofile > screens > edit.php
--------------------------+-----------------------------
 Reporter:  stokim        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi there!
 Thank you for your efforts always.
 In case of xprofile field, there's no filter hook when changed.
 bp-xprofile > screens > edit.php 52 line,
 Could you add action filter,
 do_action( 'pre_xprofile_profile_field_data_update', $posted_field_ids );
 So that I can handle with $_POST['field_' . $field_id] and
 $_POST['field_ids']?
 Actually, I thought it would be better to add an action hook in bp-
 xprofile > bp-xprofile-functions.php > xprofile_set_field_data > 432 line
 do_action( 'pre_bp_xprofile_set_field_data_validate', $value, $field,
 $field_type_obj ); for registration process and edit process both,
 however, there's no handling errors on this function, so I gave up.
 Thank you for your consideration.

 Best regards,
 Jen

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8276>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list