Add commas to each array value.

This commit is contained in:
Tiago Noronha 2017-08-18 19:13:21 +01:00
parent 5d5eb2105d
commit 48ed0b7e11
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ add_filter( 'loop_shop_columns', '_s_woocommerce_loop_columns' );
function _s_woocommerce_related_products_args( $args ) { function _s_woocommerce_related_products_args( $args ) {
$defaults = array( $defaults = array(
'posts_per_page' => 3, 'posts_per_page' => 3,
'columns' => 3 'columns' => 3,
); );
$args = wp_parse_args( $defaults, $args ); $args = wp_parse_args( $defaults, $args );
@ -238,7 +238,7 @@ if ( ! function_exists( '_s_woocommerce_header_cart' ) ) {
<li> <li>
<?php <?php
$instance = array( $instance = array(
'title' => '' 'title' => '',
); );
the_widget( 'WC_Widget_Cart', $instance ); the_widget( 'WC_Widget_Cart', $instance );