[wp-trac] [WordPress Trac] #12015: wp_get_attachment_image_src() returns mixed url + serverpath

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 25 17:53:54 UTC 2010


#12015: wp_get_attachment_image_src() returns mixed url + serverpath
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Multisite     |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1089

 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://core.trac.wordpress.org/ticket/12015>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list