Opened 9 years ago
Closed 9 years ago
#34138 closed defect (bug) (fixed)
Customizer: Missing comments in Recent Comments widget
Reported by: | pavelevap | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Customize | Keywords: | has-patch |
Focuses: | Cc: |
Description
When you add "Recent Comments" widget in Customizer, you will see only title "Recent comments", but no comments.
Attachments (2)
Change History (11)
#1
@
9 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.4
- Version changed from trunk to 4.3
#2
@
9 years ago
- Keywords 2nd-opinion dev-feedback added
hello, after debugging this i have found the issue.
on preview mode on class-wp-widget:344
, wp_suspend_cache_addition
is defined to true, so when _prime_comment_caches
is called on class-wp-comment-query:410
comments can't be added to cache.
#6
@
9 years ago
- Keywords has-patch added; 2nd-opinion dev-feedback removed
- Owner set to boonebgorges
- Status changed from new to assigned
I think this touches upon your oeuvre
Note: See
TracTickets for help on using
tickets.
Confirmed. The Recent Comments widget lists comments as expected in 4.3, but in
trunk
the call toget_comments()
inWP_Widget_Recent_Comments::widget()
returns an empty array when called in the context of the Customizer preview.@rachelbaker Any thoughts here?