Opened 6 years ago

Closed 6 years ago

#4157 closed defect (bug) (duplicate)

Missing " in 'Edit this' admin link breaks theme

Reported by: Podz Owned by: anonymous
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&amp;post=' . $post->ID . '>' . $link . '</a>' . $after;

}

needs to be

return '<a href="' . get_option( 'wpurl' ) . '/wp-admin/' . $file . '.php?action=edit&amp;post=' . $post->ID . '">' . $link . '</a>' . $after;

}

There is a missing " in $post->ID . '>'

Change History (2)

comment:1   Podz6 years ago

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

  • Milestone 2.4 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #4153.

Note: See TracTickets for help on using tickets.