src/wp-includes/bookmark-template.php 1 location
|
@@ 110-114 (lines=5) @@
|
107 |
|
$output .= $r['link_before']; |
108 |
|
|
109 |
|
if ( $bookmark->link_image != null && $r['show_images'] ) { |
110 |
|
if ( strpos( $bookmark->link_image, 'http' ) === 0 ) { |
111 |
|
$output .= "<img src=\"$bookmark->link_image\" $alt $title />"; |
112 |
|
} else { // If it's a relative path |
113 |
|
$output .= "<img src=\"" . get_option('siteurl') . "$bookmark->link_image\" $alt $title />"; |
114 |
|
} |
115 |
|
if ( $r['show_name'] ) { |
116 |
|
$output .= " $name"; |
117 |
|
} |
src/wp-includes/deprecated.php 1 location
|
@@ 977-980 (lines=4) @@
|
974 |
|
$output .= '<a href="' . $the_link . '"' . $rel . $title . $target. '>'; |
975 |
|
|
976 |
|
if ( $row->link_image != null && $show_images ) { |
977 |
|
if ( strpos($row->link_image, 'http') !== false ) |
978 |
|
$output .= "<img src=\"$row->link_image\" $alt $title />"; |
979 |
|
else // If it's a relative path |
980 |
|
$output .= "<img src=\"" . get_option('siteurl') . "$row->link_image\" $alt $title />"; |
981 |
|
} else { |
982 |
|
$output .= $name; |
983 |
|
} |