Merge pull request #11272 from lordgiotto/master

Added $notice as second argument of "woocommerce_demo_store" filter
This commit is contained in:
Mike Jolley 2016-06-28 16:26:19 +01:00 committed by GitHub
commit 007bf780d1
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 );
}
}