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:
commit
11a858ec3e
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue