Skip to:
Content

BuddyPress.org

Ticket #8470: 8470.3.patch

File 8470.3.patch, 625 bytes (added by imath, 4 years ago)
  • src/bp-core/classes/class-bp-component.php

    diff --git src/bp-core/classes/class-bp-component.php src/bp-core/classes/class-bp-component.php
    index 0178f54d1..33856838d 100644
    class BP_Component { 
    10101010                         * @since 10.0.0
    10111011                         *
    10121012                         * @param string[] $states An array of post display states.
     1013                         * @param WP_Post  $post   The current post object.
    10131014                         */
    1014                         return apply_filters( 'bp_' . $this->id . '_admin_directory_states', $states );
     1015                        return apply_filters( 'bp_' . $this->id . '_admin_directory_states', $states, $post );
    10151016                }
    10161017
    10171018                return $states;