Changeset 47122 for trunk/src/wp-includes/bookmark-template.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/bookmark-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/bookmark-template.php
r47060 r47122 117 117 if ( strpos( $bookmark->link_image, 'http' ) === 0 ) { 118 118 $output .= "<img src=\"$bookmark->link_image\" $alt $title />"; 119 } else { // If it's a relative path 119 } else { // If it's a relative path. 120 120 $output .= '<img src="' . get_option( 'siteurl' ) . "$bookmark->link_image\" $alt $title />"; 121 121 } … … 148 148 } 149 149 $output .= $parsed_args['after'] . "\n"; 150 } // end while150 } // End while. 151 151 152 152 return $output; … … 255 255 256 256 if ( $parsed_args['categorize'] ) { 257 // Split the bookmarks into ul's for each category 257 // Split the bookmarks into ul's for each category. 258 258 foreach ( (array) $cats as $cat ) { 259 259 $params = array_merge( $parsed_args, array( 'category' => $cat->term_id ) ); … … 285 285 } 286 286 } else { 287 // output one single list using title_li for the title287 // Output one single list using title_li for the title. 288 288 $bookmarks = get_bookmarks( $parsed_args ); 289 289
Note: See TracChangeset
for help on using the changeset viewer.