[wp-trac] Re: [WordPress Trac] #7040: Link to File changes to Link to Attachment IF PAGE IS STARTPAGE

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 2 02:46:44 GMT 2009


#7040: Link to File changes to Link to Attachment IF PAGE IS STARTPAGE
--------------------------+-------------------------------------------------
 Reporter:  shusha        |        Owner:  westi
     Type:  defect (bug)  |       Status:  new  
 Priority:  high          |    Milestone:  2.8  
Component:  Gallery       |      Version:  2.7.1
 Severity:  normal        |   Resolution:       
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by swift):

  * version:  2.7 => 2.7.1


Comment:

 I can confirm that this bug is still present in WP 2.7.1

 I had the issue when trying to insert a link to a PDF file in the Media
 Library into the (static) homepage page. The rel attribute was getting
 added and then on updating the page, the link would get re-written
 replacing the "wp-content/upload/year/month/day/" with the page name and
 dropping the ".pdf" extension and so WP takes you to an intermediate page
 which then gives the proper link to the file.

 Also, it appears to only be an issue for links on the homepage, with the
 static homepage option set, I can properly add links to the same PDF onto
 other pages.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7040#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list