Absolute path fix for wc-template-functions.php

This commit is contained in:
shivapoudel 2014-09-21 00:55:45 +05:45
parent 58595f0f2b
commit 8884266bac
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
* @version 2.1.0 * @version 2.1.0
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/** /**
* Handle redirects before content is output - hooked into template_redirect so is_page works. * Handle redirects before content is output - hooked into template_redirect so is_page works.