Update bp-xprofile-custom-fields-type.php #1

Merged
merged 1 commit into from Nov 11, 2013

Conversation

2 participants
@moggedb
Contributor

moggedb commented Nov 10, 2013

Bug in setting up add_filter.

It requires a priority parameter first before the accepted_args so it only send the hidden fields. The other 2 fields $display_user_id and $current_user_id is set to 0 and the function returns erratic or no results because of that.

Update bp-xprofile-custom-fields-type.php
Bug in setting up add_filter.

It requires a priority parameter first before the accepted_args so it only send the hidden fields.  The other 2 fields $display_user_id and $current_user_id is set to 0 and the function returns erratic or no results because of that.

donmik added a commit that referenced this pull request Nov 11, 2013

Merge pull request #1 from moggedb/patch-1
Bug in setting up add_filter.

It requires a priority parameter first before the accepted_args so it only send the hidden fields. The other 2 fields $display_user_id and $current_user_id is set to 0 and the function returns erratic or no results because of that.

By moggedb. Thanks!

@donmik donmik merged commit b300a1c into donmik:master Nov 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment