Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -214,19 +214,6 @@ class AKSRT_Docs_Presenter {
|
||||
* @return bool
|
||||
*/
|
||||
public function is_docs_page(int $page_id): bool {
|
||||
if (!class_exists('AKSRT_Settings')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$settings = AKSRT_Settings::get_docs_mode_settings();
|
||||
if (empty($settings['enabled'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$template = get_page_template_slug($page_id);
|
||||
return in_array($template, [
|
||||
'templates/pages/page-documentnav.php',
|
||||
'templates/pages/page-special.php',
|
||||
], true);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user