[wp-trac] [WordPress Trac] #16858: Usage of HTTP_HOST in the administration
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 24 11:08:16 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 |
-----------------------------------------+------------------------------
Comment (by dd32):
I don't see a need for these links to be absolute url's, most links in the
!WordPress admin are relative (ie. just `edit.php?..`)
We should be able to just call add_query_arg() / remove_query_arg()
without the $url parameter first.
However, Looking at the other uses of HTTP_HOST in WordPress, if it's not
being corrected afterwards, a lot of login related redirections will fail
as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16858#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list