Move the_content filter from the_content() to get_the_content()
|Reported by:||pishmishy||Owned by:||pishmishy|
|Severity:||normal||Keywords:||template has-patch needs-testing|
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.