Opened 9 years ago
Closed 9 years ago
#37592 closed defect (bug) (wontfix)
the_excerpt function is including post image
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.3 |
Component: | Formatting | Keywords: | |
Focuses: | template | Cc: |
Description
i think the_excerpt function should exclude all post images. and yes it is working. but it is not working on a user website (potku.net).
He have latest version of wp but the post is created with old version.
Attachments (1)
Change History (3)
#2
@
9 years ago
- Component changed from General to Formatting
- Focuses template added; ui removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
The the_excerpt()
function will only strip out shortcodes by it self, I don't think this is a behavior we should change in core as changing this behavior will most definitely change the display of most sites out there.
This can easily be handled on a case by case basis with a filter such as get_the_excerpt
.
Related #12084, which would also allow for removing tags via filters.
Note: See
TracTickets for help on using
tickets.
single post on archive