#1588 closed defect (bug) (fixed)
Improper spacing in edit_post_link
Reported by: | mjsteinbaugh | Owned by: | markjaquith |
---|---|---|---|
Milestone: | Priority: | lowest | |
Severity: | trivial | Version: | 1.5.2 |
Component: | Template | Keywords: | bg|has-patch bg|commit |
Focuses: | Cc: |
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)
#1
@
19 years ago
- Keywords bg|has-patch bg|commit added
- Milestone set to 1.6
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
#2
@
19 years ago
- Version changed from 1.5.1.2 to 1.5.2
New patch does the same for the edit_comment_link() function
Note: See
TracTickets for help on using
tickets.
Thanks. And agreed. I hate it when spaces are hardcoded like that... it limits your formatting options.