用户域一次性收口:统一公开主页资源归属并折叠作者页双路径

把 uh-forum 样式收进 user-home 路由、author.php 收成 301 回退、公开主页脚本以 author.js 为唯一实现,并去掉 enqueue/body class 中的 is_author 分叉。
This commit is contained in:
kate522 committed 2026-07-10 22:11:44 +08:00
1 parent c28c1226ac
commit f76d4650e5
9 files changed
+157 -360

No files matched your search

+6
View File
@@ -7,6 +7,12 @@
- 内容面板:panels-core.php / panel-forum.php / panel-follow.php
- 侧栏:sidebar.php
- 列表项:templates/parts/content-profile-*.php
- 样式:assets/css/routes/user-home.css(含 uh-forum)+ shared profile.css
- 脚本:assets/js/author.js(公开主页 tab / cover;author 归档 301 到 /user/)
作者归档:
- author.php 仅作 301 回退到 /user/{nicename}/
- 不再维护独立作者页 UI
旧 uh-* 草稿 partial 已删除,勿再引入。
-->