Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#24779 closed defect (bug) (fixed)

Editing a comment doesn't clear the Recent Comments widget cache

Reported by: pento's profile pento Owned by: ocean90's profile ocean90
Milestone: 3.7 Priority: normal
Severity: minor Version: 2.2
Component: Widgets Keywords: has-patch commit
Focuses: Cc:

Description

To reproduce:

  • Enable persistent object caching in WordPress
  • Add Recent Comments widget to a sidebar
  • Create a comment
  • Check that the widget shows the comment
  • In wp-admin/edit-comments.php, use Edit or Quick Edit to change the Name in the comment, and Save

Result:

The widget is not updated with the new comment author name.

Attachments (1)

24779.diff (527 bytes) - added by pento 12 years ago.

Download all attachments as: .zip

Change History (5)

@pento
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 3.5.2 to 2.2

Related: [5301], [11718].

#2 @ocean90
11 years ago

  • Milestone changed from Future Release to 3.7

#3 @ocean90
11 years ago

Tested with Memcache. Looks good.

#4 @ocean90
11 years ago

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

In 25049:

Flush the cache in Recent Comments widget on edit_comment. props pento, fixes #24779.

Note: See TracTickets for help on using tickets.