refactor(resource): drop aksrt_resource CPT residue, post+meta only

This commit is contained in:
2026-07-13 23:47:04 +08:00
parent 24c135aeec
commit 1af0e9b753
22 changed files with 362 additions and 986 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ class AKSRT_Setup {
/**
* 注册自定义文章类型
*
* v3.4: 移除 aksrt_resource CPT,资源元数据统一挂在 post 上,
* 通过 _aksrt_is_resource meta 标记单篇文章是否为“资源”。
* 资源不是 CPT:元数据挂在普通 post 上,
* 通过 _aksrt_is_resource meta 标记是否为资源。
*/
public function register_post_types(): void {
// Shop rewrite settings (safe fallback if settings not yet loaded)