Make WordPress Core

Changeset 27800


Ignore:
Timestamp:
03/28/2014 02:40:47 AM (10 years ago)
Author:
nacin
Message:

Galleries: Avoid doubling up clearing br elements.

props drozdz.
fixes #25537.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r27789 r27800  
    997997    }
    998998
     999    if ( $columns > 0 && $i % $columns !== 0 ) {
     1000        $output .= "
     1001            <br style='clear: both' />";
     1002    }
     1003
    9991004    $output .= "
    1000             <br style='clear: both;' />
    10011005        </div>\n";
    10021006
Note: See TracChangeset for help on using the changeset viewer.