[wp-trac] [WordPress Trac] #24058: Extra closing div in wordpress gallery

WordPress Trac noreply at wordpress.org
Fri Apr 12 13:05:22 UTC 2013


#24058: Extra closing div in wordpress gallery
-----------------------------+--------------------------
 Reporter:  charliejlryan    |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Gallery
  Version:  3.5.1            |   Severity:  normal
 Keywords:  needs-patch      |
-----------------------------+--------------------------
 WordPress 3.5.1 bug - error on line 800 /wp-includes/media.php un-opened
 "</div>" causes theme problems when using [gallery] shortcode.

 Solution: Change lines 798 - 800 from:

 $output .= "
                         <br style='clear: both;' />
                 </div>\n";

 To:

 $output .= "
                         <br style='clear: both;' />";

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24058>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list