Skip to content

Commit

Permalink
πŸ‘Œ Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-James committed Apr 1, 2019
1 parent 48d3b49 commit 126b359
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions premium/addon/profilefields/class-ms-addon-profilefields.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ public function customize_register_form( $fields, $view ) {

$custom_fields = $this->customize_form( $custom_fields, $data, $config );

// allways add privary field if exist
// admin can disable this field by leave blank in privacy setting page
// Always make sure the privacy checkbox is considered.
if( isset( $fields['privacy_check'] ) ){
$custom_fields[] = $fields['privacy_check'];
}
Expand Down

0 comments on commit 126b359

Please sign in to comment.