[wp-trac] [WordPress Trac] #30371: Allow for // rooted URLs in http request() calls (wp_remote_get(), etc)

WordPress Trac noreply at wordpress.org
Sun Nov 23 05:30:54 UTC 2014


#30371: Allow for // rooted URLs in http request() calls (wp_remote_get(), etc)
-------------------------+------------------------------
 Reporter:  dmchale      |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  HTTP API     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by valendesigns):

 How about just simply adding an error for schemeless URLs that's states
 they are not supported by the function and you need to explicitly set the
 scheme? Yes they are valid, but are they appropriate in this instance?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30371#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list