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:
2026-07-07 19:48:07 +08:00
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ const menuOptions = ADMIN_SECTIONS.filter((section) => !section.hidden).map((sec
key: section.key,
icon: section.icon,
children: section.children.map((child) => ({
label: child.label,
label: child.secondaryEntry ? `${child.label} · 次级` : child.label,
key: child.key,
})),
}
-18
View File
@@ -137,24 +137,6 @@ if (!function_exists('aksrt_default_resource_meta')) {
'require_login' => !empty($meta['require_login']),
'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,
];
}
}