[wp-trac] [WordPress Trac] #17669: URL is incorrect when trying to post media/image/audio/video

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 3 19:16:30 UTC 2011


#17669: URL is incorrect when trying to post media/image/audio/video
--------------------------+------------------------------
 Reporter:  AllyUnion     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by AllyUnion):

 Also line 634:
 from:
 $current_url = ( is_ssl() ? 'https://' : 'http://' ) .
 $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

 to:
 $current_url = get_bloginfo('url') . $_SERVER['REQUEST_URI'];

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


More information about the wp-trac mailing list