diff --git a/src/bp-core/classes/class-bp-theme-compat.php b/src/bp-core/classes/class-bp-theme-compat.php
index 215ee7204..329e6050d 100644
a
|
b
|
class BP_Theme_Compat { |
117 | 117 | public function __get( $property ) { |
118 | 118 | return array_key_exists( $property, $this->_data ) ? $this->_data[$property] : ''; |
119 | 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Checks if a dynamic property exists. |
| 123 | * |
| 124 | * @since 9.0.0 |
| 125 | * |
| 126 | * @param string $property Property name. |
| 127 | * @return bool true if exists otherwise false. |
| 128 | */ |
| 129 | public function __isset( $property ) { |
| 130 | return array_key_exists( $property, $this->_data ); |
| 131 | } |
120 | 132 | } |