Changeset 5469 for trunk/src/bbpress.php
- Timestamp:
- 09/08/2014 04:07:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r5466 r5469 146 146 * @since bbPress (r3951) 147 147 */ 148 public function __isset( $key ) { return isset( $this->data[ $key] ); }148 public function __isset( $key ) { return isset( $this->data[ $key ] ); } 149 149 150 150 /** … … 153 153 * @since bbPress (r3951) 154 154 */ 155 public function __get( $key ) { return isset( $this->data[ $key] ) ? $this->data[$key] : null; }155 public function __get( $key ) { return isset( $this->data[ $key ] ) ? $this->data[ $key ] : null; } 156 156 157 157 /** … … 160 160 * @since bbPress (r3951) 161 161 */ 162 public function __set( $key , $value ) { $this->data[$key] = $value; }162 public function __set( $key , $value ) { $this->data[ $key ] = $value; } 163 163 164 164 /** … … 167 167 * @since bbPress (r4628) 168 168 */ 169 public function __unset( $key ) { if ( isset( $this->data[$key] ) ) unset( $this->data[$key] ); } 169 public function __unset( $key ) { 170 if ( isset( $this->data[ $key ] ) ) { 171 unset( $this->data[ $key ] ); 172 } 173 } 170 174 171 175 /** … … 427 431 428 432 // Bail if something already has this under control 429 if ( ! empty( $this->theme_compat->theme ) ) 433 if ( ! empty( $this->theme_compat->theme ) ) { 430 434 return; 435 } 431 436 432 437 // Setup the theme package to use for compatibility
Note: See TracChangeset
for help on using the changeset viewer.