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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 29 07:29:30 UTC 2010


#7040: Link to File changes to Link to Attachment IF PAGE IS STARTPAGE
-------------------------------+--------------------------------------------
 Reporter:  shusha             |        Owner:  westi   
     Type:  defect (bug)       |       Status:  reopened
 Priority:  high               |    Milestone:          
Component:  Media              |      Version:  2.9.2   
 Severity:  major              |   Resolution:          
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by WesleyC):

  * status:  closed => reopened
  * resolution:  worksforme =>
  * version:  2.7.1 => 2.9.2
  * component:  Gallery => Media
  * severity:  normal => major


Comment:

 The bug still exists in 2.9.2

 To reproduce simply download the 2.9.2 version (I use czech language
 mutation, but there should be no difference).
 Do the fresh installation. Go to options-reading.php, set static page as
 the first page, you can choose that "about me" page. Then go to edit-
 pages.php, edit that sample page that is already there and you did set it
 as first page.
 Add a file and you will see in the HTML that the link is someting like:
 "<a href='http://site/ai/wp-content/uploads/2010/03/letak_voziky1.pdf'
 rel='attachment wp-att-6'>letak_voziky</a>".
 Notice that: rel='attachment wp-att-6'
 After you publish, you will get: <a href='http://site/ai/?attachment_id=6'
 rel='attachment wp-att-6'>letak_voziky</a>.
 Now the pdfd extension is gone, and you have to download it through
 another page, which is very annoying.

 This has been done on fresh installation, no other changes to installation
 has been made, no .htaccess, no another plugin, nothing, just new install.

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


More information about the wp-trac mailing list