Opened 11 years ago
Closed 11 years ago
#25740 closed defect (bug) (fixed)
Twenty Fourteen: Fix gallery posts in the ephemera widget
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
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.
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
article
to prevent duplicated IDs on a page because we are not removing the posts in the widget from the main query.