Merge pull request #19946 from woocommerce/fix/19940

Actions should be filters
This commit is contained in:
Mike Jolley 2018-05-03 16:11:47 +01:00 committed by GitHub
commit a3a2d234bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ add_filter( 'post_class', 'wc_product_post_class', 20, 3 );
*
* @see wc_generator_tag()
*/
add_action( 'get_the_generator_html', 'wc_generator_tag', 10, 2 );
add_action( 'get_the_generator_xhtml', 'wc_generator_tag', 10, 2 );
add_filter( 'get_the_generator_html', 'wc_generator_tag', 10, 2 );
add_filter( 'get_the_generator_xhtml', 'wc_generator_tag', 10, 2 );
/**
* Content Wrappers.