From acb9fd51e8461c007a7d8b8fbeb81dc1038a324f Mon Sep 17 00:00:00 2001 From: Jacob Arriola Date: Tue, 11 Feb 2020 11:59:16 -0800 Subject: [PATCH] Fix coding standard errors --- templates/single-product/up-sells.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/single-product/up-sells.php b/templates/single-product/up-sells.php index eb9d839faa6..1da908c9ab2 100644 --- a/templates/single-product/up-sells.php +++ b/templates/single-product/up-sells.php @@ -37,7 +37,7 @@ if ( $upsells ) : ?> get_id() ); - setup_postdata( $GLOBALS['post'] =& $post_object ); + setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited, Squiz.PHP.DisallowMultipleAssignments.Found wc_get_template_part( 'content', 'product' ); ?>