进行了一些小修复

This commit is contained in:
kate522 committed 2026-08-26 16:32:18 +08:00
1 parent 992af2119d
commit 2cb78edabb
26 files changed
+2091 -2383

No files matched your search

+1 -4
View File
@@ -49,10 +49,7 @@ if (!function_exists('aksrt_renderer_collect_post_data')) {
$is_mult_thumb = true;
}
$custom_excerpt = class_exists('\AKSRT\Core\PostMetaBox')
? (string) \AKSRT\Core\PostMetaBox::get_meta_value($post_id, 'custom_excerpt', '')
: '';
$excerpt = $custom_excerpt !== '' ? $custom_excerpt : (string) get_the_excerpt($post_id);
$excerpt = (string) get_the_excerpt($post_id);
if ($excerpt === '') {
$excerpt = (string) get_post_field('post_content', $post_id, 'raw');
}