[buddypress-trac] [BuddyPress Trac] #7483: Required xprofile fields are not validated

buddypress-trac noreply at wordpress.org
Thu Apr 13 10:16:29 UTC 2017


#7483: Required xprofile fields are not validated
--------------------------------------+--------------------
 Reporter:  rmichel0                  |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  2.9
Component:  Extended Profile          |     Version:  2.8.2
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+--------------------

Comment (by Mamaduka):

 This only happens when current user has 'bp_moderate' caps.

 This is how we currently check, if field is required in
 `xprofile_screen_edit_profile`:

 {{{
 $is_required[ $field_id ] = xprofile_check_is_required_field( $field_id )
 && ! bp_current_user_can( 'bp_moderate' );
 }}}

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


More information about the buddypress-trac mailing list