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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 15:12:11 UTC 2012


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

Comment (by mindctrl):

 Replying to [comment:16 SergeyBiryukov]:
 > The ticket itself is still an enhancement.

 Sorry about that. Wasn't thinking when I changed that. Not enough sleep!


 > I could not reproduce stripping off the protocol, it's `'http'` on my
 install. Before [21734], however, it used to be `'https'` in this case.
 >
 > [attachment:20759.3.diff] brings consistency and fixes the issue with
 "Visit Site" link in my testing.


 You're right. It wasn't stripping the protocol. My browser was just hiding
 it and I didn't inspect the code.

 This patch fixes the problem for me. Thanks!

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


More information about the wp-trac mailing list