Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0
-
Fix Version/s: 4.1.0-b1
-
Component/s: None
-
Labels:None
Description
Calls to Widget::create and WidgetClient::create to set the $attributes argument to define a 'class' property is intended to concatenate the given class with the default class for the widget to function properly, however, the user-defined class are not concatenated.
To fix, change the order of the array merge:
... $attributes = array_merge($default_attributes, (array)$attributes); ...
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked higher |
Sprint | 4.1.0 Sprint 4 [ 38 ] |
Rank | Ranked lower |
Assignee | Tyson Phillips [ tyson ] |
Fix Version/s | 4.1.0 [ 11007 ] |

Status | Open [ 1 ] | In Progress [ 3 ] |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |