Changeset 57859 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 03/20/2024 12:47:47 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r57687 r57859 997 997 $output .= '<a href="' . $the_link . '"' . $rel . $title . $target. '>'; 998 998 999 if ( $row->link_image != null&& $show_images ) {999 if ( '' != $row->link_image && $show_images ) { 1000 1000 if ( str_contains( $row->link_image, 'http' ) ) 1001 $output .= "<img src=\"$row->link_image\" $alt $title />";1001 $output .= '<img src="' . $row->link_image . '"' . $alt . $title . ' />'; 1002 1002 else // If it's a relative path. 1003 $output .= "<img src=\"" . get_option('siteurl') . "$row->link_image\" $alt $title />";1003 $output .= '<img src="' . get_option('siteurl') . $row->link_image . '"' . $alt . $title . ' />'; 1004 1004 } else { 1005 1005 $output .= $name;
Note: See TracChangeset
for help on using the changeset viewer.