Skip to content

Commit ebd83de

Browse files
authored
Update src/Model/Post.php
phpcs
1 parent eebd583 commit ebd83de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ protected function init() {
486486

487487
$processedTitle = ! empty( $title ) ? $this->html_entity_decode( apply_filters( 'the_title', $title, $id ), 'titleRendered', true ) : '';
488488

489-
return $processedTitle === '' ? null : $processedTitle;
489+
return empty( $processedTitle ) ? null : $processedTitle;
490490
},
491491
'titleRaw' => [
492492
'callback' => function () {

0 commit comments

Comments
 (0)