Zibll 主线收口:统一 single 并清退 compat 资源路径
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
0a6f97af21
commit
09f1eec909
26 files changed
+158
-1325
No files matched your search
@@ -3,14 +3,6 @@ defined('ABSPATH') || exit;
|
||||
|
||||
trait AKSRT_Settings_Homepage_Reader {
|
||||
|
||||
/**
|
||||
* 首页模块编排。
|
||||
* @return array
|
||||
*/
|
||||
public static function get_homepage_modules(): array {
|
||||
return AKSRT_Settings_Home_Cms::get_homepage_modules();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allowed sort/orderby values for the homepage.
|
||||
*
|
||||
@@ -56,17 +48,6 @@ trait AKSRT_Settings_Homepage_Reader {
|
||||
return AKSRT_Settings_Home_Cms::homepage_tabs();
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrate legacy homepage module tabs to the new structured format.
|
||||
*
|
||||
* Called once on first admin visit; idempotent.
|
||||
*
|
||||
* @return bool Whether migration was performed.
|
||||
*/
|
||||
public static function maybe_migrate_homepage_tabs(): bool {
|
||||
return AKSRT_Settings_Home_Cms::maybe_migrate_homepage_tabs();
|
||||
}
|
||||
|
||||
/**
|
||||
* Homepage card view variant.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user