Skip to content

Commit 6100d1c

Browse files
committed
fixed warning
1 parent 82f8508 commit 6100d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-mf2-feed-entry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function jf2_to_mf2( $entry ) {
137137
$return['type'] = array( 'h-' . $entry['type'] );
138138
$return['properties'] = array();
139139

140-
if ( $entry['value'] ) {
140+
if ( ! empty( $entry['value'] ) ) {
141141
$return['type'] = $entry['value'];
142142
}
143143

0 commit comments

Comments
 (0)