Opened 17 years ago
Closed 16 years ago
#4975 closed defect (bug) (duplicate)
Move the_content filter from the_content() to get_the_content()
Reported by: | pishmishy | Owned by: | pishmishy |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.3 |
Component: | Template | Keywords: | template has-patch needs-testing |
Focuses: | Cc: |
Description
The current application of the 'the_content' filter in the_content() forces it to be applied not only to the actual content but across the (more...) link too. This makes it difficult for theme authors who wish to wrap the actual content into a single block and then the (more...) and comment links into another block.
Applying the filter into get_the_content() before the (more...) link is appended to the output, and separately wrapping the (more...) link with <p> tags, with arguments to override this behavior, resolves this problem without breaking existing themes.
Attachments (1)
Change History (10)
Note: See
TracTickets for help on using
tickets.
See similar ticket #3359.