[wp-trac] [WordPress Trac] #16177: bloginfo() to return https/ssl url
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 10 15:28:05 UTC 2011
#16177: bloginfo() to return https/ssl url
--------------------------+-----------------------------------------------
Reporter: jtlowe22 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: bloginfo, https, ssl, secure, url
--------------------------+-----------------------------------------------
bloginfo() should include a parameter that allows the function to return
the 'https' URL string.
example: bloginfo("secure_url")
{{{
case 'secure_url' :
$output = home_url();
$output = str_replace('http://', 'https://', $output);
break;
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16177>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list