Skip to content

Commit

Permalink
chore: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhtungdu committed Jan 15, 2024
1 parent d306d1e commit fe63f3c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions inc/woocommerce/storefront-woocommerce-template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,20 +248,23 @@ function storefront_shop_messages() {
'height' => true,
'viewbox' => true,
),
'g' => array( 'fill' => true ),
'title' => array( 'title' => true ),
'g' => array(
'fill' => true,
),
'title' => array(
'title' => true,
),
'path' => array(
'd' => true,
'fill' => true
)
'd' => true,
'fill' => true,
),
);

$allowed_tags = array_merge( $kses_defaults, $svg_args );

echo wp_kses( storefront_do_shortcode( 'woocommerce_messages' ), $allowed_tags );
}
}

}

if ( ! function_exists( 'storefront_woocommerce_pagination' ) ) {
Expand Down

0 comments on commit fe63f3c

Please sign in to comment.