Absolute path fix for class-wc-shipping.php

This commit is contained in:
shivapoudel 2014-09-21 00:46:02 +05:45
parent 2200a3ae2e
commit 961f147d18
1 changed files with 4 additions and 2 deletions

View File

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