[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and
REQUEST API
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 3 03:17:21 GMT 2008
#4779: Proposal for HTTP POST and REQUEST API
-------------------------------------------+--------------------------------
Reporter: darkdragon | Owner: jacobsantos
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Optimization | Version:
Severity: normal | Resolution:
Keywords: has-patch tested dev-feedback |
-------------------------------------------+--------------------------------
Comment (by jacobsantos):
Replying to [comment:73 ryan]:
> That won't help if WP_SITEURL is defined. How about directly using
HTTP_HOST? We might want to fall back to SERVER_ADDR if that is not
defined.
I actually like that it works that way. If I'm testing !WordPress on my
local, then I want to set the constant so that I don't have to manually
change the value in the database.
Actually, it probably would be less overhead if you duplicate the code in
the function. However if there is an exploit or bug in the function, then
one or the other is going to be fixed. Or that is the fear, I might be
wrong.
--
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:77>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list