fix: 删除之前留下的formidable异步脚本
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: ITStudio 招新系统
|
||||
* Plugin URI: https://git.itouc.cn/ITStudio_OUC/ITStudioMainSite
|
||||
@@ -25,7 +25,7 @@ require_once ITSTUDIO_RECRUITMENT_PATH . 'includes/recruitment-articles.php';
|
||||
require_once ITSTUDIO_RECRUITMENT_PATH . 'includes/join-system.php';
|
||||
require_once ITSTUDIO_RECRUITMENT_PATH . 'includes/email-otp.php';
|
||||
require_once ITSTUDIO_RECRUITMENT_PATH . 'includes/terms.php';
|
||||
require_once ITSTUDIO_RECRUITMENT_PATH . 'includes/formidable-async-patch.php';
|
||||
|
||||
|
||||
function itstudio_recruitment_activate() {
|
||||
flush_rewrite_rules();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
|
||||
function itstudio_theme_setup() {
|
||||
add_theme_support('title-tag');
|
||||
@@ -777,7 +777,3 @@ function itstudio_join_fallback() {
|
||||
exit;
|
||||
}
|
||||
add_action('template_redirect', 'itstudio_join_fallback', 9);
|
||||
if (file_exists(get_template_directory() . '/includes/formidable-async-patch.php')) {
|
||||
require_once get_template_directory() . '/includes/formidable-async-patch.php';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user