[wp-trac] [WordPress Trac] #7904: get_attached_file bug

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 17 09:50:33 GMT 2008


#7904: get_attached_file bug
----------------------------+-----------------------------------------------
 Reporter:  arena           |       Owner:  anonymous        
     Type:  defect          |      Status:  new              
 Priority:  high            |   Milestone:  2.7              
Component:  Administration  |     Version:  2.7              
 Severity:  blocker         |    Keywords:  get_attached_file
----------------------------+-----------------------------------------------
 From the very last trunk of WordPress 2.7, i found a bug in
 "get_attached_file" function.

 For my specific import, i have
 (at step0)
    this->file  >>>  C:\\Vn\\wp27/wp-content/uploads/2008/10/csv-semicolon-
 sample1csv13.import   <<<

 and have then with get_attached_file function (at step1)
    this->file  >>>  C:\Vn\wp27/wp-content/uploads/C:\Vn\wp27/wp-
 content/uploads/2008/10/csv-semicolon-sample1csv13.import   <<<

 As you can see when retrieving the file name, the string "C:\Vn\wp27/wp-
 content/uploads/" is duplicated

 My code is working on 2.6.2, not on 2.7.

 Code is very similar to "wordpress" importer.

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


More information about the wp-trac mailing list