Merge pull request #8333 from justinshreve/download-linebreaks-8327

Add a line break after every download file link (fixes #8327)
This commit is contained in:
Mike Jolley 2015-06-09 17:05:27 +01:00
commit 11a858ec3e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ foreach ( $items as $item_id => $item ) :
$prefix = __( 'Download', 'woocommerce' );
}
echo '<br/><small>' . $prefix . ': <a href="' . esc_url( $file['download_url'] ) . '" target="_blank">' . esc_html( $file['name'] ) . '</a></small>';
echo '<br/><small>' . $prefix . ': <a href="' . esc_url( $file['download_url'] ) . '" target="_blank">' . esc_html( $file['name'] ) . '</a></small>' . "\n";
}
}