Absolute path fix for class-wc-shipping.php
This commit is contained in:
parent
2200a3ae2e
commit
961f147d18
|
@ -11,7 +11,9 @@
|
|||
* @author WooThemes
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
class WC_Shipping {
|
||||
|
||||
|
@ -441,4 +443,4 @@ class WC_Shipping {
|
|||
*/
|
||||
function woocommerce_register_shipping_method( $shipping_method ) {
|
||||
$GLOBALS['woocommerce']->shipping->register_shipping_method( $shipping_method );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue