[wp-trac] Re: [WordPress Trac] #6444: Changeset 7561 (post rc3) leaves an open <p> at the end of the inserted gallery html

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 3 23:49:48 GMT 2008


#6444: Changeset 7561 (post rc3) leaves an open <p> at the end of the inserted
gallery html
-------------------------------------+--------------------------------------
 Reporter:  johnconners              |        Owner:  andy    
     Type:  defect                   |       Status:  reopened
 Priority:  high                     |    Milestone:  2.5.1   
Component:  Template                 |      Version:  2.5     
 Severity:  critical                 |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by AaronCampbell):

 I'm still not sure if anyone is interested in having it both ways, but
 just in case, I fixed the autop issue in my patch too.

 As a side note, while working on this my attention was drawn to #3670
 because I inserted some JavaScript with CDATA tags in place of a
 shortcode.  If you know what the purpose of this line in the_content() in
 wp-includes/post-template.php is for, I would like to know so I could
 patch that ticket:
 {{{$content = str_replace(']]>', ']]&gt;', $content);}}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6444#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list