Skip to content

Commit 96ebde6

Browse files
author
hellofromtonya
committed
Use empty for improved stability.
1 parent c31d097 commit 96ebde6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/bookmark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function get_bookmark( $bookmark, $output = OBJECT, $filter = 'raw' ) {
4848
}
4949
}
5050

51-
if ( ! $_bookmark ) {
51+
if ( empty( $_bookmark ) ) {
5252
return $_bookmark;
5353
}
5454

0 commit comments

Comments
 (0)