WordPress.org

Make WordPress Core

Ticket #5652: add-innerbefore-innerafter.diff

File add-innerbefore-innerafter.diff, 667 bytes (added by thee17, 8 years ago)

Adds innerbefore and innerafter

  • bookmark-template.php

     
    8585 
    8686                $output .= '<a href="' . $the_link . '"' . $rel . $title . $target. '>'; 
    8787 
     88        $output .= $innerbefore; 
     89 
    8890                if ( $bookmark->link_image != null && $show_images ) { 
    8991                        if ( strpos($bookmark->link_image, 'http') !== false ) 
    9092                                $output .= "<img src=\"$bookmark->link_image\" $alt $title />"; 
     
    9496                        $output .= $name; 
    9597                } 
    9698 
     99        $output .= $innerafter; 
     100 
    97101                $output .= '</a>'; 
    98102 
    99103                if ( $show_updated && $bookmark->recently_updated )