Skip to:
Content

BuddyPress.org

Ticket #7685: 7685.01.patch

File 7685.01.patch, 985 bytes (added by Offereins, 6 years ago)
  • src/bp-xprofile/classes/class-bp-xprofile-field.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field.php b/src/bp-xprofile/classes/class-bp-xprofile-field.php
    index 8af8e98..ce4a95a 100644
    a b class BP_XProfile_Field { 
    573573                 * Filters the found children for a field.
    574574                 *
    575575                 * @since 1.2.5
     576                 * @since 3.0.0 Added the `$this` parameter.
    576577                 *
    577                  * @param object $children    Found children for a field.
    578                  * @param bool   $for_editing Whether or not the field is for editing.
     578                 * @param object            $children    Found children for a field.
     579                 * @param bool              $for_editing Whether or not the field is for editing.
     580                 * @param BP_XProfile_Field $this        Field object
    579581                 */
    580                 return apply_filters( 'bp_xprofile_field_get_children', $children, $for_editing );
     582                return apply_filters( 'bp_xprofile_field_get_children', $children, $for_editing, $this );
    581583        }
    582584
    583585        /**