[wp-trac] [WordPress Trac] #4975: Move the_content filter from
the_content() to get_the_content()
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 14 13:14:39 GMT 2007
#4975: Move the_content filter from the_content() to get_the_content()
-----------------------+----------------------------------------------------
Reporter: pishmishy | Owner: pishmishy
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.3
Severity: normal | Keywords: template
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/4975>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list