[wp-trac] [WordPress Trac] #16858: Usage of HTTP_HOST in the administration

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 17 15:31:40 UTC 2011


#16858: Usage of HTTP_HOST in the administration
-----------------------------------------+------------------------------
 Reporter:  amirhabibi                   |       Owner:
     Type:  defect (bug)                 |      Status:  reopened
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Administration               |     Version:  3.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------
Changes (by hakre):

 * keywords:  needs-patch => has-patch reporter-feedback


Comment:

 I've attached a patch that did work on my testbed. It makes use of
 self_admin_url() and an additional function I named self_admin_path()
 which returns the $path component based on the current request.

 @amirhabibi - please apply that patch on your host (the patch is against
 current trunk) and see if it solves your problem.

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


More information about the wp-trac mailing list