#1588 closed defect (bug) (fixed)
Improper spacing in edit_post_link
| Reported by: | mjsteinbaugh | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Template | Version: | 1.5.2 |
| Severity: | trivial | Keywords: | bg|has-patch bg|commit |
| Cc: | Focuses: |
Description
For edit_post_link:
<?php edit_post_link('text', 'before', 'after'); ?>
In template-functions-links.php, line 182:
Original
echo "$before <a href=\"$location\">$link</a> $after";
Corrected
echo $before."<a href=\"$location\">$link</a>".$after;
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks. And agreed. I hate it when spaces are hardcoded like that... it limits your formatting options.