Second arg of the_widget is an array.

This commit is contained in:
Tiago Noronha 2017-08-07 00:04:22 +01:00
parent e72ba5b291
commit 579ad2eeea
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ if ( ! function_exists( '_s_woocommerce_header_cart' ) ) {
<?php _s_woocommerce_cart_link(); ?> <?php _s_woocommerce_cart_link(); ?>
</li> </li>
<li> <li>
<?php the_widget( 'WC_Widget_Cart', 'title=' ); ?> <?php the_widget( 'WC_Widget_Cart', array( 'title' => '' ) ); ?>
</li> </li>
</ul> </ul>
<?php <?php