[wp-trac] [WordPress Trac] #16909: some Location headers are using relative url's (2)
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 21 01:16:33 UTC 2011
#16909: some Location headers are using relative url's (2)
---------------------+------------------------------
Reporter: hakre | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------
Comment (by hakre):
Replying to [comment:3 dd32]:
> admin_url will return a absolute URL. self_admin_url() is only needed
for pages
> accessible from both the Network admin (or users admin) as well as the
normal
> admin.
Ah, okay. Had not thought about that, the first patch was mainly a regex
search, so I assume most of it does not apply any longer.
what about /wp-admin/network/edit.php and /wp-amin/user/admin.php? Is it
the same?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16909#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list