Skip to:
Content

BuddyPress.org

Changeset 11368


Ignore:
Timestamp:
01/02/2017 10:01:00 PM (8 years ago)
Author:
tw2113
Message:

Revert part of commit from #6035 due to null $field variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r11367 r11368  
    856856         *
    857857         * @since 1.6.0
    858          * @since 2.8.0 Added field ID.
    859858         *
    860859         * @param string $retval Field visibility level.
    861          * @param string $value  Field ID.
    862          */
    863         return apply_filters( 'bp_get_the_profile_field_visibility_level', $retval, $field->id );
     860         */
     861        return apply_filters( 'bp_get_the_profile_field_visibility_level', $retval );
    864862    }
    865863
Note: See TracChangeset for help on using the changeset viewer.