removed unnecessary php tag [point 2] and removed a return false statement[point 3]
This commit is contained in:
parent
9d2fcb1968
commit
4affbff47e
|
@ -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;
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue