Opened 6 years ago
Closed 6 years ago
#4157 closed defect (bug) (duplicate)
Missing " in 'Edit this' admin link breaks theme
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
link-template.php
line 296
return '<a href="' . get_option( 'wpurl' ) . '/wp-admin/' . $file . '.php?action=edit&post=' . $post->ID . '>' . $link . '</a>' . $after;
}
needs to be
return '<a href="' . get_option( 'wpurl' ) . '/wp-admin/' . $file . '.php?action=edit&post=' . $post->ID . '">' . $link . '</a>' . $after;
}
There is a missing " in $post->ID . '>'
Change History (2)
Note: See
TracTickets for help on using
tickets.

Actually, check the wpurl too - it's not putting the subdirectory into my blog so I get
http://www.tamba2.org.uk/wp-admin/post.php?action=edit&post=3086
when it should be
http://www.tamba2.org.uk/T2/wp-admin/post.php?action=edit&post=3086