UI fixes and composer bump

This commit is contained in:
Joey Kimsey
2025-01-27 00:26:43 -05:00
parent 35b7be92a6
commit ca850bb46b
24 changed files with 167 additions and 83 deletions

View File

@ -168,9 +168,11 @@ class Posts extends DatabaseModel {
$draft = ' <b>Draft</b>';
}
$instance->isDraft = $draft;
$instance->authorName = $authorName;
$instance->authorName = \ucfirst( $authorName );
if ( self::$comments !== false ) {
$instance->commentCount = self::$comments->count( 'blog', $instance->ID );
} else {
$instance->commentCount = 0;
}
$instance->content = Filters::applyOne( 'mentions.0', $instance->content, true );
$instance->content = Filters::applyOne( 'hashtags.0', $instance->content, true );