Skip to:
Content

BuddyPress.org

Changeset 11563


Ignore:
Timestamp:
06/01/2017 04:22:36 PM (7 years ago)
Author:
r-a-y
Message:

Buttons: Ensure that certain BP_Button class properties are updated.

Specifically, the $parent_element and $parent_attr properties were not
being updated. Devs should now be able to filter the button and do checks
against these properties as expected.

Fixes #7531.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-button.php

    r11521 r11563  
    303303            }
    304304
     305            // Set parent element props.
     306            $this->parent_element = $r['parent_element'];
     307            $this->parent_attr    = $r['parent_attr'];
     308
    305309            // Render parent element attributes.
    306310            $parent_elem = new BP_Core_HTML_Element( array(
Note: See TracChangeset for help on using the changeset viewer.