Opened 11 years ago
Closed 11 years ago
#34138 closed defect (bug) (fixed)
Customizer: Missing comments in Recent Comments widget
| Reported by: | pavelevap | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Customize | Version: | 4.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
When you add "Recent Comments" widget in Customizer, you will see only title "Recent comments", but no comments.
Attachments (2)
Change History (11)
#2
@
11 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
@
11 years ago
- Keywords has-patch added; 2nd-opinion dev-feedback removed
- Owner set to
- Status new → assigned
I think this touches upon your oeuvre
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed. The Recent Comments widget lists comments as expected in 4.3, but in
trunkthe 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?