Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#50609 closed defect (bug) (fixed)

5.5 beta - Archives widget is missing its closing tag

Reported by: joyously Owned by: SergeyBiryukov
Priority: normal Milestone: 5.5
Component: Widgets Version: 5.5
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

The Archive widget changed (I think to get a unique ID, not sure), and now the after_widget parameter is not output.

I've attached a screenshot of WP 5.4.2 on the left and WP 5.5beta on the right, and that's the only difference. You can see that the styling indicates that the widgets that follow it are inside it.

Attachments (2)

WP5.4.2-left-and-WP5.5beta-right-archive-widget.jpg​ (252.3 KB ) - added by joyously 6 years ago.
WP 5.4.2 is on the left and WP 5.5 beta is on the right. Note the Meta widget and Text widget are inside the Archives widget on the right.
50609.patch​ (411 bytes ) - added by mukesh27 6 years ago.
Patch.

Download all attachments as: .zip

Change History (6)

@joyously
6 years ago

WP 5.4.2 is on the left and WP 5.5 beta is on the right. Note the Meta widget and Text widget are inside the Archives widget on the right.

#1 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.5

#2 @mukesh27
6 years ago

  • Keywords needs-patch added

It's regression of this [48349] changeset.

Last edited 6 years ago by SergeyBiryukov (previous) (diff)

#3 @mukesh27
6 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 48409:

Widgets: Correct the logic for displaying the after_widget parameter of the Archives widget.

Follow-up to [48349].

Props mukesh27, joyously.
Fixes #50609.

Note: See TracTickets for help on using tickets.