Make WordPress Core

Ticket #1588: template-functions-links.php.diff

File template-functions-links.php.diff, 889 bytes (added by markjaquith, 19 years ago)

Patch for WP 1.6 SVN

  • template-functions-links.php

     
    179179    }
    180180
    181181    $location = get_settings('siteurl') . "/wp-admin/post.php?action=edit&post=$post->ID";
    182     echo "$before <a href=\"$location\">$link</a> $after";
     182    echo "$before <a href=\"$location\">$link</a>" . $after;
    183183}
    184184
    185185function edit_comment_link($link = 'Edit This', $before = '', $after = '') {
     
    192192    }
    193193
    194194    $location = get_settings('siteurl') . "/wp-admin/post.php?action=editcomment&amp;comment=$comment->comment_ID";
    195     echo "$before <a href='$location'>$link</a> $after";
     195    echo "$before <a href='$location'>$link</a>" . $after;
    196196}
    197197
    198198// Navigation links
     
    496496    }
    497497}
    498498
    499 ?>
    500  No newline at end of file
     499?>