mirror of https://github.com/vtrois/kratos
fix: WP_USE_THEMES guard (#542)
parent
655d3eb475
commit
ebf10116a9
|
@ -1,4 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 模板函数
|
* 模板函数
|
||||||
|
|
Loading…
Reference in New Issue