diff options
Diffstat (limited to 'plugins/jetpack/modules/widgets/simple-payments/widget.php')
-rw-r--r-- | plugins/jetpack/modules/widgets/simple-payments/widget.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/widgets/simple-payments/widget.php b/plugins/jetpack/modules/widgets/simple-payments/widget.php index 46ca3382..24b1cc2c 100644 --- a/plugins/jetpack/modules/widgets/simple-payments/widget.php +++ b/plugins/jetpack/modules/widgets/simple-payments/widget.php @@ -3,12 +3,19 @@ * Display the Pay with PayPal Widget. * * @package automattic/jetpack + * @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable */ ?> <div class='jetpack-simple-payments-wrapper'> <div class='jetpack-simple-payments-product'> - <div class='jetpack-simple-payments-product-image' <?php if ( empty( $instance['form_product_image_id'] ) ) echo 'style="display:none;"'; ?>> + <div class='jetpack-simple-payments-product-image' + <?php + if ( empty( $instance['form_product_image_id'] ) ) { + echo 'style="display:none;"'; + } + ?> + > <div class='jetpack-simple-payments-image'> <?php echo wp_get_attachment_image( $instance['form_product_image_id'], 'full' ); ?> </div> |