Fix coding standard errors
This commit is contained in:
parent
eea787e0e8
commit
acb9fd51e8
|
@ -37,7 +37,7 @@ if ( $upsells ) : ?>
|
|||
<?php
|
||||
$post_object = get_post( $upsell->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' );
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue