Changeset 57859 for trunk/src/wp-includes/bookmark-template.php
- Timestamp:
- 03/20/2024 12:47:47 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/bookmark-template.php
r55990 r57859 125 125 $output .= $parsed_args['link_before']; 126 126 127 if ( null != $bookmark->link_image && $parsed_args['show_images'] ) {127 if ( '' !== $bookmark->link_image && $parsed_args['show_images'] ) { 128 128 if ( str_starts_with( $bookmark->link_image, 'http' ) ) { 129 $output .= "<img src=\"$bookmark->link_image\" $alt $title />";129 $output .= '<img src="' . $bookmark->link_image . '"' . $alt . $title . ' />'; 130 130 } else { // If it's a relative path. 131 $output .= '<img src="' . get_option( 'siteurl' ) . "$bookmark->link_image\" $alt $title />";131 $output .= '<img src="' . get_option( 'siteurl' ) . $bookmark->link_image . '"' . $alt . $title . ' />'; 132 132 } 133 133 if ( $parsed_args['show_name'] ) {
Note: See TracChangeset
for help on using the changeset viewer.