[wpmu-trac] [WordPress MU Trac] #1089: wp_get_attachment_image_src() returns mixed url + serverpath

WordPress MU Trac wpmu-trac at lists.automattic.com
Sun Aug 16 14:45:28 UTC 2009


#1089: wp_get_attachment_image_src() returns mixed url + serverpath
-------------------------+--------------------------------------------------
 Reporter:  joernroeder  |       Owner:  somebody         
     Type:  defect       |      Status:  new              
 Priority:  normal       |   Milestone:                   
Component:  component1   |     Version:                   
 Severity:  normal       |    Keywords:  image, attachment
-------------------------+--------------------------------------------------
 Hi,
 i have one local wp mu 2.8.4 installation. on some blogs of this
 installation wp_get_attachment_image_src() returns the right array with
 url and sizes, but when i use it in a plugin it returns something like
 this:

 {{{
 http://wpmu.local/files//Users/username/Sites/wp_mu/wp-
 content/blogs.dir/3/files//2009/07//20090708_07a34a7fd26e65f8ef4d9144a012b43e.jpeg
 }}}

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1089>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list