Merge pull request 'J 最终核查收尾:补兼容项弱化标识并清理 resource 死代码' (#19) from worktree-zibll-streams-cdj into main

Reviewed-on: CYL/wordpress-theme-aksrt#19
This commit is contained in:
kate522 committed 2026-07-07 19:48:07 +08:00
commit 0a6f97af21
2 files changed
+1 -19

No files matched your search

+1 -1
View File
@@ -156,7 +156,7 @@ const menuOptions = ADMIN_SECTIONS.filter((section) => !section.hidden).map((sec
key: section.key, key: section.key,
icon: section.icon, icon: section.icon,
children: section.children.map((child) => ({ children: section.children.map((child) => ({
label: child.label, label: child.secondaryEntry ? `${child.label} · 次级` : child.label,
key: child.key, key: child.key,
})), })),
} }
-18
View File
@@ -137,24 +137,6 @@ if (!function_exists('aksrt_default_resource_meta')) {
'require_login' => !empty($meta['require_login']), 'require_login' => !empty($meta['require_login']),
'require_captcha' => !empty($meta['require_captcha']), 'require_captcha' => !empty($meta['require_captcha']),
]; ];
return [
'version' => '',
'size' => '',
'price' => 0.0,
'original_price' => 0.0,
'vip1_price' => 0.0,
'vip2_price' => 0.0,
'pay_type' => 'download',
'license' => '',
'compat' => '',
'demo_url' => '',
'downloads' => [],
'download_count' => 0,
'view_count' => 0,
'require_login' => false,
'require_captcha' => false,
];
} }
} }