Make WordPress Core

Opened 6 years ago

Closed 2 months ago

#12219 closed enhancement (fixed)

Comments on attachments don't appear in Recent Comments Widget

Reported by: tfnab Owned by: azaozz
Milestone: 3.8 Priority: normal
Severity: normal Version: 2.9
Component: Widgets Keywords: needs-refresh has-patch
Focuses: Cc:


Comments on attachments don't appear in Recent Comments Widget.

This is the same in 2.9.1 (and probably many other previous versions) and the patch will work with the older version as well.

Attachments (1)

ticket-12219_wp30_recent-comments-widget_attachment-comments.patch (984 bytes) - added by tfnab 6 years ago.

Download all attachments as: .zip

Change History (8)

#1 @markmcwilliams
6 years ago

  • Milestone changed from Unassigned to 3.0
  • Type changed from enhancement to defect (bug)
  • Version changed from 3.0 to 2.9.1

#2 @ocean90
6 years ago

Can't we use the same query as for the dashboard recent comment widget?

SELECT * FROM $wpdb->comments c LEFT JOIN $wpdb->posts p ON c.comment_post_ID = p.ID WHERE p.post_status != 'trash' ORDER BY c.comment_date_gmt DESC LIMIT 15

#3 @nacin
6 years ago

  • Milestone changed from 3.0 to Future Release
  • Type changed from defect (bug) to enhancement

#4 @iseulde
2 years ago

  • Keywords recent-comments-widget attachment-comments removed

#5 @chriscct7
3 months ago

  • Version changed from 2.9.1 to 2.9

#6 @chriscct7
3 months ago

  • Keywords needs-refresh added

#7 @wonderboymusic
2 months ago

  • Milestone changed from Future Release to 3.8
  • Resolution set to fixed
  • Status changed from new to closed

Rewrite happened at [26144]

Note: See TracTickets for help on using tickets.