{"action":"opened","issue":{"url":"https://api.github.com/repos/pippinsplugins/restrict-content-pro/issues/250","labels_url":"https://api.github.com/repos/pippinsplugins/restrict-content-pro/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/pippinsplugins/restrict-content-pro/issues/250/comments","events_url":"https://api.github.com/repos/pippinsplugins/restrict-content-pro/issues/250/events","html_url":"https://github.com/pippinsplugins/restrict-content-pro/issues/250","id":109670399,"number":250,"title":"Question: login URL","user":{"login":"sumobi","id":52581,"avatar_url":"https://avatars.githubusercontent.com/u/52581?v=3","gravatar_id":"","url":"https://api.github.com/users/sumobi","html_url":"https://github.com/sumobi","followers_url":"https://api.github.com/users/sumobi/followers","following_url":"https://api.github.com/users/sumobi/following{/other_user}","gists_url":"https://api.github.com/users/sumobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sumobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumobi/subscriptions","organizations_url":"https://api.github.com/users/sumobi/orgs","repos_url":"https://api.github.com/users/sumobi/repos","events_url":"https://api.github.com/users/sumobi/events{/privacy}","received_events_url":"https://api.github.com/users/sumobi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pippinsplugins/restrict-content-pro/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-04T08:56:01Z","updated_at":"2015-10-04T08:56:01Z","closed_at":null,"body":"@pippinsplugins Any particular reason why the login URL has a query string?\r\nhttps://github.com/pippinsplugins/restrict-content-pro/blob/master/includes/login-functions.php#L29\r\n\r\nAs opposed to:\r\n`$url = get_permalink( absint( $rcp_options['login_redirect'] ) );`\r\n\r\nThe URL would be a lot nicer (/login vs /login/?redirect=http://rcp.dev/register/)"}}