[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
Tue Apr 15 14:39:43 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 markjaquith):

 {{{6444.003.autop.diff}}} builds on AaronCampbell's patch.

  * uses {{{$after_formatting}}} instead of {{{$post_formatting}}} because
 "post" has two contradictory meanings here
  * moves the gallery shortcode to after formatting

 Testing now, but so far this looks like the best solution.

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


More information about the wp-trac mailing list