Opened 13 years ago
Closed 13 years ago
#25740 closed defect (bug) (fixed)
Twenty Fourteen: Fix gallery posts in the ephemera widget
| Reported by: | iamtakashi | Owned by: | lancewillett |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Bundled Theme | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Currently the gallery posts in the ephemere widget are not working correctly. The issues are:
- Total number of images in a gallery isn't correct.
- Wrong cover image appears if none of gallery images is attached to the post.
- Cover image and total number appear even a post is password protected.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Attached a patch that fixes the issue pointed above.
With this patch, I removed the fallback for featured image in gallery posts because only the gallery format does this and it may confuse users. Also I removed post ID from
articleto prevent duplicated IDs on a page because we are not removing the posts in the widget from the main query.