PHPCS fixes

This commit is contained in:
Gerhard 2019-01-16 11:56:07 +02:00
parent beb35db6c3
commit 75e47a4cc1
1 changed files with 4 additions and 4 deletions

View File

@ -10,9 +10,9 @@
* happen. When this occurs the version of the template file will be bumped and * happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes. * the readme will list any important changes.
* *
* @see https://docs.woocommerce.com/document/template-structure/ * @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates * @package WooCommerce/Templates
* @version 3.0.0 * @version 3.0.0
*/ */
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
@ -25,4 +25,4 @@ if ( 'no' === get_option( 'woocommerce_enable_review_rating' ) || 'no' === get_o
return; return;
} }
echo wc_get_rating_html( $product->get_average_rating() ); echo wc_get_rating_html( $product->get_average_rating() ); // WordPress.XSS.EscapeOutput.OutputNotEscaped.