#16177 closed enhancement (invalid)
bloginfo() to return https/ssl url
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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;
Attachments (1)
Change History (7)
#2
@
15 years ago
Why not use home_url( , 'https' ) instead?
BTW, bloginfo( 'url' ) is deprecated according to the codex, but actually it's not in the core...
#3
@
15 years ago
- Keywords 2nd-opinion close needs-codex added; bloginfo https ssl secure url removed
Note: See
TracTickets for help on using
tickets.
general-template.php containing the updated bloginfo() parameter