From 4affbff47e873f9982c511cd3e70013b83fd4c26 Mon Sep 17 00:00:00 2001 From: Shabnam Date: Sat, 4 Aug 2018 19:51:25 +0600 Subject: [PATCH] removed unnecessary php tag [point 2] and removed a return false statement[point 3] --- includes/class-wc-regenerate-images.php | 1 - templates/single-product/share.php | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/class-wc-regenerate-images.php b/includes/class-wc-regenerate-images.php index c3cb3352817..8165a13fc49 100644 --- a/includes/class-wc-regenerate-images.php +++ b/includes/class-wc-regenerate-images.php @@ -88,7 +88,6 @@ class WC_Regenerate_Images { return image_get_intermediate_size( $attachment_id, array( absint( $size_data['width'] ), absint( $size_data['height'] ) ) ); } - return false; } return $data; diff --git a/templates/single-product/share.php b/templates/single-product/share.php index 6119fc46f80..f6074c72092 100644 --- a/templates/single-product/share.php +++ b/templates/single-product/share.php @@ -22,8 +22,6 @@ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } -?> - -