feat(wpmc S3): Helpers::get_term_by_slug with per-request cache
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,3 +9,7 @@ if (!defined('ABSPATH')) {
|
||||
|
||||
require_once __DIR__ . '/../includes/class-plugin.php';
|
||||
\WPMultiCity\Plugin::register_autoloader();
|
||||
|
||||
if (!class_exists('WP_Term', false)) {
|
||||
eval('class WP_Term { public int $term_id = 0; public string $slug = ""; public string $taxonomy = ""; }');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user