parent
25ea52dec1
commit
734bde83f9
|
@ -30,7 +30,7 @@ class WC_Breadcrumb {
|
|||
*/
|
||||
public function add_crumb( $name, $link = '' ) {
|
||||
$this->crumbs[] = array(
|
||||
$name,
|
||||
strip_tags( $name ),
|
||||
$link
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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' ), strip_tags( $item ) );
|
||||
|
||||
if ( $key + 2 === sizeof( $items ) ) {
|
||||
$item_string .= ' ' . __( 'and', 'woocommerce' ) . ' ';
|
||||
|
|
Loading…
Reference in New Issue