Adds safe check for constant before defining it.
This commit is contained in:
parent
0dd6424f43
commit
ae968ab9a2
|
@ -4,8 +4,11 @@
|
||||||
const TAINACAN_INTERFACE_VERSION = '2.6';
|
const TAINACAN_INTERFACE_VERSION = '2.6';
|
||||||
|
|
||||||
/* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */
|
/* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */
|
||||||
define('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER', true);
|
if ( !defined('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER') )
|
||||||
define('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER', true);
|
define('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER', true);
|
||||||
|
|
||||||
|
if ( !defined('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER') )
|
||||||
|
define('TAINACAN_DISABLE_TAXONOMY_THE_CONTENT_FILTER', true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup Theme
|
* Setup Theme
|
||||||
|
|
Loading…
Reference in New Issue