removed unnecessary php tag [point 2] and removed a return false statement[point 3]

This commit is contained in:
Shabnam 2018-08-04 19:51:25 +06:00
parent 9d2fcb1968
commit 4affbff47e
2 changed files with 1 additions and 4 deletions

View File

@ -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;

View File

@ -22,8 +22,6 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<?php do_action( 'woocommerce_share' ); // Sharing plugins can hook into here
do_action( 'woocommerce_share' ); // Sharing plugins can hook into here
/* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */