Wrap product name in correct double quotes in wc_format_list_of_items()
This commit is contained in:
parent
2da4ea0084
commit
9632077c7e
|
@ -97,7 +97,7 @@ function wc_format_list_of_items( $items ) {
|
|||
$item_string = '';
|
||||
|
||||
foreach ( $items as $key => $item ) {
|
||||
$item_string .= sprintf( _x( '“%s“', 'Item name in quotes', 'woocommerce' ), $item );
|
||||
$item_string .= sprintf( _x( '“%s”', 'Item name in quotes', 'woocommerce' ), $item );
|
||||
|
||||
if ( $key + 2 === sizeof( $items ) ) {
|
||||
$item_string .= ' ' . __( 'and', 'woocommerce' ) . ' ';
|
||||
|
|
Loading…
Reference in New Issue