[wp-trac] [WordPress Trac] #4157: Missing " in 'Edit this' admin link breaks theme

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 17 22:38:58 GMT 2007


#4157: Missing " in 'Edit this' admin link breaks theme
----------------------------+-----------------------------------------------
 Reporter:  Podz            |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  low             |   Milestone:  2.4      
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 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 . '>'

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4157>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list