fix: WP_USE_THEMES guard (#542)

pull/548/head
n0099 2022-11-12 10:36:29 +08:00 committed by GitHub
parent 655d3eb475
commit ebf10116a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<?php
if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) {
return;
}
/**
* 模板函数