diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index d9bca2bbd7..d5878887d9 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -124,11 +124,11 @@ function _walk_bookmarks( $bookmarks, $args = '' ) { $output .= $parsed_args['link_before']; - if ( null != $bookmark->link_image && $parsed_args['show_images'] ) { + if ( '' !== $bookmark->link_image && $parsed_args['show_images'] ) { if ( str_starts_with( $bookmark->link_image, 'http' ) ) { - $output .= "link_image\" $alt $title />"; + $output .= ''; } else { // If it's a relative path. - $output .= 'link_image\" $alt $title />"; + $output .= ''; } if ( $parsed_args['show_name'] ) { $output .= " $name"; diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 4de4a93039..8087c3d867 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -996,11 +996,11 @@ function get_links($category = -1, $before = '', $after = '
', $between = ' $output .= ''; - if ( $row->link_image != null && $show_images ) { + if ( '' != $row->link_image && $show_images ) { if ( str_contains( $row->link_image, 'http' ) ) - $output .= "link_image\" $alt $title />"; + $output .= ''; else // If it's a relative path. - $output .= "link_image\" $alt $title />"; + $output .= ''; } else { $output .= $name; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 27040bdc2b..752c201daf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57858'; +$wp_version = '6.6-alpha-57859'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.