[wp-trac] [WordPress Trac] #16950: Provide a redirected-to URI
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 24 10:14:55 UTC 2011
#16950: Provide a redirected-to URI
-------------------------------------+------------------------
Reporter: cogmios | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: HTTP | Version: 3.1
Severity: normal | Resolution: duplicate
Keywords: 2nd-opinion needs-patch |
-------------------------------------+------------------------
Comment (by hakre):
Replying to [comment:1 cogmios]:
> do_action( 'http_api_curl_info', $handle) is not correct it should be
do_action('http_api_curl_info', $location) where $location is the new URL
if supplied (since I see now that on non-empty-basepath systems the URL in
curl_info does not contain the proposed new location.
Probably you should provide a patch so it's more clear what this is about.
Keep in mind that for hooks, a general use should be supported, e.g. why
not passing more than one variable to it? So the $handle, $location,
$args.
I'll write a short patch.
----
Replying to [comment:2 dd32]:
> closing as duplicate of #16855
I think the creator of the ticket asks to introduce a new HOOK after
curl_exec() has been run on a $handle.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16950#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list