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 { |
1010 | 1010 | * @since 10.0.0 |
1011 | 1011 | * |
1012 | 1012 | * @param string[] $states An array of post display states. |
| 1013 | * @param WP_Post $post The current post object. |
1013 | 1014 | */ |
1014 | | return apply_filters( 'bp_' . $this->id . '_admin_directory_states', $states ); |
| 1015 | return apply_filters( 'bp_' . $this->id . '_admin_directory_states', $states, $post ); |
1015 | 1016 | } |
1016 | 1017 | |
1017 | 1018 | return $states; |