[wp-trac] [WordPress Trac] #20759: Implement set_url_scheme() where appropriate

WordPress Trac wp-trac at lists.automattic.com
Sat May 26 23:02:24 UTC 2012


#20759: Implement set_url_scheme() where appropriate
-------------------------------------+------------------------------
 Reporter:  johnbillion              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch needs-testing


Comment:

 Patch which replaces instances in core where we're doing things like
 `str_replace( 'http://', 'https://, $url )` with `set_url_scheme()`.

 There are several other places in core where we're building the URL out
 based on the `$_SERVER` superglobal and `is_ssl()`, but I've left these
 as-is and only replaced instances where we're actually replacing the
 scheme in a URL with another.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20759#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list