Added $notice as second argument of "woocommerce_demo_store" filter

This commit is contained in:
Lorenzo 2016-06-28 16:26:26 +02:00
parent 53552f8028
commit 449b3a949d
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ if ( ! function_exists( 'woocommerce_demo_store' ) ) {
$notice = __( 'This is a demo store for testing purposes — no orders shall be fulfilled.', 'woocommerce' );
}
echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>' );
echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>', $notice );
}
}