Changeset 11187
- Timestamp:
- 10/12/2016 12:40:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-button.php
r11116 r11187 95 95 * @var string Default: 'div'. 96 96 */ 97 public $parent_element = ' div';97 public $parent_element = ''; 98 98 99 99 /** … … 154 154 * @var string|bool 155 155 */ 156 public $wrapper = ' ';156 public $wrapper = 'div'; 157 157 158 158 /** … … 386 386 387 387 // Set element. 388 if ( false === $child ) {388 if ( false === $child && empty( $r[ "{$parent}_element" ] ) ) { 389 389 $r[ "{$parent}_element" ] = $r[ $prop ]; 390 390
Note: See TracChangeset
for help on using the changeset viewer.