{"action":"created","issue":{"url":"https://api.github.com/repos/textpattern/textpattern/issues/469","labels_url":"https://api.github.com/repos/textpattern/textpattern/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/textpattern/textpattern/issues/469/comments","events_url":"https://api.github.com/repos/textpattern/textpattern/issues/469/events","html_url":"https://github.com/textpattern/textpattern/issues/469","id":67759414,"number":469,"title":"site_url preference","user":{"login":"jstubbs","id":844723,"avatar_url":"https://avatars.githubusercontent.com/u/844723?v=3","gravatar_id":"","url":"https://api.github.com/users/jstubbs","html_url":"https://github.com/jstubbs","followers_url":"https://api.github.com/users/jstubbs/followers","following_url":"https://api.github.com/users/jstubbs/following{/other_user}","gists_url":"https://api.github.com/users/jstubbs/gists{/gist_id}","starred_url":"https://api.github.com/users/jstubbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstubbs/subscriptions","organizations_url":"https://api.github.com/users/jstubbs/orgs","repos_url":"https://api.github.com/users/jstubbs/repos","events_url":"https://api.github.com/users/jstubbs/events{/privacy}","received_events_url":"https://api.github.com/users/jstubbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-11T09:26:48Z","updated_at":"2015-04-11T12:52:22Z","closed_at":null,"body":"As requested in the forum thread below, could we add an option to output a secure link to the site_url tag, perhaps something like: `<txp:site_url scheme=\"https\" />`\r\n\r\nMany thanks.\r\n\r\nhttp://forum.textpattern.com/viewtopic.php?id=42865 "},"comment":{"url":"https://api.github.com/repos/textpattern/textpattern/issues/comments/91837499","html_url":"https://github.com/textpattern/textpattern/issues/469#issuecomment-91837499","issue_url":"https://api.github.com/repos/textpattern/textpattern/issues/469","id":91837499,"user":{"login":"Bloke","id":21252,"avatar_url":"https://avatars.githubusercontent.com/u/21252?v=3","gravatar_id":"","url":"https://api.github.com/users/Bloke","html_url":"https://github.com/Bloke","followers_url":"https://api.github.com/users/Bloke/followers","following_url":"https://api.github.com/users/Bloke/following{/other_user}","gists_url":"https://api.github.com/users/Bloke/gists{/gist_id}","starred_url":"https://api.github.com/users/Bloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bloke/subscriptions","organizations_url":"https://api.github.com/users/Bloke/orgs","repos_url":"https://api.github.com/users/Bloke/repos","events_url":"https://api.github.com/users/Bloke/events{/privacy}","received_events_url":"https://api.github.com/users/Bloke/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T12:52:22Z","updated_at":"2015-04-11T12:52:22Z","body":"Is there any need for this? How many times do you switch protocol during normal site use? If you want to deliver secure links, you normally set this at the end of your `config.php` file:\r\n\r\n    define('PROTOCOL', 'https://');\r\n\r\nthen all URLs in tags return secure protocol prefixes. At least, that's what it's supposed to do. If this doesn't work as expected, then by all means we'll look into alternatives."}}