修复aksrt_render_profile_empty() 定义
This commit is contained in:
@@ -202,6 +202,11 @@ if (!function_exists('aksrt_capture_user_home_panel')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
// 面板 body 依赖的空态/分页助手位于模板侧共享文件,REST 片段上下文不会自动加载。
|
||||
if (!function_exists('aksrt_render_profile_empty')) {
|
||||
require_once AKSRT_DIR . '/templates/parts/user-shared-helpers.php';
|
||||
}
|
||||
|
||||
ob_start();
|
||||
load_template($template, false, $ctx);
|
||||
return (string) ob_get_clean();
|
||||
|
||||
Reference in New Issue
Block a user