Ticket #1588: template-functions-links.php.diff
File template-functions-links.php.diff, 889 bytes (added by , 19 years ago) |
---|
-
template-functions-links.php
179 179 } 180 180 181 181 $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; 183 183 } 184 184 185 185 function edit_comment_link($link = 'Edit This', $before = '', $after = '') { … … 192 192 } 193 193 194 194 $location = get_settings('siteurl') . "/wp-admin/post.php?action=editcomment&comment=$comment->comment_ID"; 195 echo "$before <a href='$location'>$link</a> $after";195 echo "$before <a href='$location'>$link</a>" . $after; 196 196 } 197 197 198 198 // Navigation links … … 496 496 } 497 497 } 498 498 499 ?> 500 No newline at end of file 499 ?>