[wp-trac] [WordPress Trac] #12536: get_the_content does not properly trim split post (read more link)

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 5 02:16:23 UTC 2010


#12536: get_the_content does not properly trim split post (read more link)
--------------------------+-------------------------------------------------
 Reporter:  Ateo          |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  high          |   Milestone:  3.0             
Component:  Formatting    |     Version:  2.9.2           
 Severity:  minor         |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------

Comment(by nacin):

 I'm not sure about this.

 If you have a more link at the end of your content, like so, then it will
 be displayed on the same line. <!--more-->

 If you have a more link on the next line, like so, then it will be
 displayed on the next line.
 <!--more-->

 If you have a more link as if it is its own paragraph, then it will be
 displayed as its own paragraph.

 Changing this will cause some people to complain that their more links are
 no longer displaying as their own paragraph, because that is how they may
 prefer it. But currently, you can have your way if you include <!--more-->
 inline.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12536#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list