WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#29617 closed defect (bug) (fixed)

Widget arrow doesn't point back down ("closed") when widget is closed using "Close" link

Reported by: senff Owned by: SergeyBiryukov
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Widgets Keywords: has-patch needs-testing
Focuses: ui, administration Cc:

Description

When you have a widget in a Widget area, the triangular arrow (indicating if the widget is open or closed) will not go back to its "closed" state (arrow down) if you close the widget using the "Close" link at the bottom left of the open widget.

Issue does NOT occur when you close a widget by clicking on the title bar.

Reproduce: in APPEARANCE - WIDGETS, open any widget in any widget area. Small arrow will change from down to up. Click on "Close" link (bottom left, next to "Delete" link). Arrow will not go back to down state and stay in "open" state, pointing up.

Attachments (2)

26748.diff (996 bytes) - added by senff 6 years ago.
Suggested patch
29617.diff (422 bytes) - added by senff 6 years ago.
Suggested patch (CORRECTION)

Download all attachments as: .zip

Change History (6)

@senff
6 years ago

Suggested patch

@senff
6 years ago

Suggested patch (CORRECTION)

#1 @senff
6 years ago

Apologies, first patch 26748.diff is incorrect (wrong file uploaded) -- please ignore / delete.

29617.diff is the correct suggested patch.

#2 @senff
6 years ago

  • Keywords has-patch needs-testing added

#3 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 4.1

Confirmed. Previously: #26748.

#4 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 29726:

Widgets: Toggle widget arrow when the widget is closed using Close link.

props senff.
fixes #29617.

Note: See TracTickets for help on using tickets.