$published_ts; $rel_base = $use_modified ? $modified_ts : $published_ts; $rel_label = $use_modified ? __('更新', 'aksrt') : __('发布', 'aksrt'); $abs_fmt = $use_modified ? sprintf(__('%s更新', 'aksrt'), get_the_modified_time('Y年m月d日 H:i')) : sprintf(__('%s发布', 'aksrt'), get_the_time('Y年m月d日 H:i')); $time_text = human_time_diff($rel_base, (int) current_time('timestamp')) . $rel_label; $description = function_exists('aksrt_get_user_description') ? aksrt_get_user_description($author_id) : trim((string) get_the_author_meta('description')); $name_html = aksrt_get_user_name([ 'id' => $author_id, 'class' => 'name flex ac flex1', 'name_class' => '', 'vip' => true, 'medal' => true, 'auth' => true, 'level' => true, 'follow' => false, ]); $follow_html = aksrt_get_user_follow('px12-sm ml10 follow but c-red', $author_id); $reward_button = get_current_user_id() !== $author_id && function_exists('aksrt_get_rewards_button') ? aksrt_get_rewards_button($author_id, 'ml6 but c-yellow px12-sm', get_the_ID()) : ''; ?>
'avatar avatar-id-' . $author_id]); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 'avatar avatar-id-' . $author_id]); ?>