{"action":"created","comment":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/comments/55434589","id":55434589,"diff_hunk":"@@ -2,6 +2,13 @@\n $post_share_url = esc_url( get_permalink() );\n $post_share_title = rawurlencode( spine_get_title() );\n $post_share_placement = spine_get_option( 'post_social_placement' );\n+$spine_social_options = spine_social_options();\n+if ( ! empty( $spine_social_options['twitter'] ) ) {\n+\t$twitter_array = array_filter( explode( '/', $spine_social_options['twitter'] ) );\n+\t$twitter_handle = array_pop( $twitter_array );","path":"articles/post.php","position":7,"original_position":7,"commit_id":"49e5d4061239f82ea9d1a999ebd4f8c2f7447d80","original_commit_id":"49e5d4061239f82ea9d1a999ebd4f8c2f7447d80","user":{"login":"jeremyfelt","id":286171,"avatar_url":"https://avatars.githubusercontent.com/u/286171?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyfelt","html_url":"https://github.com/jeremyfelt","followers_url":"https://api.github.com/users/jeremyfelt/followers","following_url":"https://api.github.com/users/jeremyfelt/following{/other_user}","gists_url":"https://api.github.com/users/jeremyfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyfelt/subscriptions","organizations_url":"https://api.github.com/users/jeremyfelt/orgs","repos_url":"https://api.github.com/users/jeremyfelt/repos","events_url":"https://api.github.com/users/jeremyfelt/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyfelt/received_events","type":"User","site_admin":false},"body":"Wrapping `$twitter_handle` in `esc_attr()` would be good here so that we're sure it's safe when output as part of the URL later in the page. Overcautious in some ways, but the data is coming from the database.","created_at":"2016-03-08T21:53:37Z","updated_at":"2016-03-08T21:53:37Z","html_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289#discussion_r55434589","pull_request_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289","_links":{"self":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/comments/55434589"},"html":{"href":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289#discussion_r55434589"},"pull_request":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289"}}},"pull_request":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289","id":62140275,"html_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289","diff_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289.diff","patch_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289.patch","issue_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/289","number":289,"state":"open","locked":false,"title":"[PR] Use proper Twitter account name for post sharing tools","user":{"login":"philcable","id":6403569,"avatar_url":"https://avatars.githubusercontent.com/u/6403569?v=3","gravatar_id":"","url":"https://api.github.com/users/philcable","html_url":"https://github.com/philcable","followers_url":"https://api.github.com/users/philcable/followers","following_url":"https://api.github.com/users/philcable/following{/other_user}","gists_url":"https://api.github.com/users/philcable/gists{/gist_id}","starred_url":"https://api.github.com/users/philcable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcable/subscriptions","organizations_url":"https://api.github.com/users/philcable/orgs","repos_url":"https://api.github.com/users/philcable/repos","events_url":"https://api.github.com/users/philcable/events{/privacy}","received_events_url":"https://api.github.com/users/philcable/received_events","type":"User","site_admin":false},"body":"Fixes #268. @jeremyfelt #reviewmerge?","created_at":"2016-03-08T21:35:47Z","updated_at":"2016-03-08T21:53:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a2ff33800f64c5b18d5f96309cb431a7ab2bce5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289/commits","review_comments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289/comments","review_comment_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/289/comments","statuses_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/statuses/49e5d4061239f82ea9d1a999ebd4f8c2f7447d80","head":{"label":"washingtonstateuniversity:share-options","ref":"share-options","sha":"49e5d4061239f82ea9d1a999ebd4f8c2f7447d80","user":{"login":"washingtonstateuniversity","id":5225228,"avatar_url":"https://avatars.githubusercontent.com/u/5225228?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtonstateuniversity","html_url":"https://github.com/washingtonstateuniversity","followers_url":"https://api.github.com/users/washingtonstateuniversity/followers","following_url":"https://api.github.com/users/washingtonstateuniversity/following{/other_user}","gists_url":"https://api.github.com/users/washingtonstateuniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtonstateuniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtonstateuniversity/subscriptions","organizations_url":"https://api.github.com/users/washingtonstateuniversity/orgs","repos_url":"https://api.github.com/users/washingtonstateuniversity/repos","events_url":"https://api.github.com/users/washingtonstateuniversity/events{/privacy}","received_events_url":"https://api.github.com/users/washingtonstateuniversity/received_events","type":"Organization","site_admin":false},"repo":{"id":14156803,"name":"WSUWP-spine-parent-theme","full_name":"washingtonstateuniversity/WSUWP-spine-parent-theme","owner":{"login":"washingtonstateuniversity","id":5225228,"avatar_url":"https://avatars.githubusercontent.com/u/5225228?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtonstateuniversity","html_url":"https://github.com/washingtonstateuniversity","followers_url":"https://api.github.com/users/washingtonstateuniversity/followers","following_url":"https://api.github.com/users/washingtonstateuniversity/following{/other_user}","gists_url":"https://api.github.com/users/washingtonstateuniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtonstateuniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtonstateuniversity/subscriptions","organizations_url":"https://api.github.com/users/washingtonstateuniversity/orgs","repos_url":"https://api.github.com/users/washingtonstateuniversity/repos","events_url":"https://api.github.com/users/washingtonstateuniversity/events{/privacy}","received_events_url":"https://api.github.com/users/washingtonstateuniversity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme","description":"Provides the spine and skeleton framework for the WSU Web in WordPress","fork":false,"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme","forks_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/forks","keys_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/teams","hooks_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/hooks","issue_events_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/events{/number}","events_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/events","assignees_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/assignees{/user}","branches_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/branches{/branch}","tags_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/tags","blobs_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/languages","stargazers_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/stargazers","contributors_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/contributors","subscribers_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/subscribers","subscription_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/subscription","commits_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/contents/{+path}","compare_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/merges","archive_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/downloads","issues_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues{/number}","pulls_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/labels{/name}","releases_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/releases{/id}","deployments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/deployments","created_at":"2013-11-05T23:05:00Z","updated_at":"2016-03-01T15:46:13Z","pushed_at":"2016-03-08T21:35:47Z","git_url":"git://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme.git","ssh_url":"git@github.com:washingtonstateuniversity/WSUWP-spine-parent-theme.git","clone_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme.git","svn_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme","homepage":"","size":2045,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":6,"default_branch":"master"}},"base":{"label":"washingtonstateuniversity:master","ref":"master","sha":"cba3b618447fb1b72095f5c6d76f113b60c2089a","user":{"login":"washingtonstateuniversity","id":5225228,"avatar_url":"https://avatars.githubusercontent.com/u/5225228?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtonstateuniversity","html_url":"https://github.com/washingtonstateuniversity","followers_url":"https://api.github.com/users/washingtonstateuniversity/followers","following_url":"https://api.github.com/users/washingtonstateuniversity/following{/other_user}","gists_url":"https://api.github.com/users/washingtonstateuniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtonstateuniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtonstateuniversity/subscriptions","organizations_url":"https://api.github.com/users/washingtonstateuniversity/orgs","repos_url":"https://api.github.com/users/washingtonstateuniversity/repos","events_url":"https://api.github.com/users/washingtonstateuniversity/events{/privacy}","received_events_url":"https://api.github.com/users/washingtonstateuniversity/received_events","type":"Organization","site_admin":false},"repo":{"id":14156803,"name":"WSUWP-spine-parent-theme","full_name":"washingtonstateuniversity/WSUWP-spine-parent-theme","owner":{"login":"washingtonstateuniversity","id":5225228,"avatar_url":"https://avatars.githubusercontent.com/u/5225228?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtonstateuniversity","html_url":"https://github.com/washingtonstateuniversity","followers_url":"https://api.github.com/users/washingtonstateuniversity/followers","following_url":"https://api.github.com/users/washingtonstateuniversity/following{/other_user}","gists_url":"https://api.github.com/users/washingtonstateuniversity/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtonstateuniversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtonstateuniversity/subscriptions","organizations_url":"https://api.github.com/users/washingtonstateuniversity/orgs","repos_url":"https://api.github.com/users/washingtonstateuniversity/repos","events_url":"https://api.github.com/users/washingtonstateuniversity/events{/privacy}","received_events_url":"https://api.github.com/users/washingtonstateuniversity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme","description":"Provides the spine and skeleton framework for the WSU Web in WordPress","fork":false,"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme","forks_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/forks","keys_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/teams","hooks_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/hooks","issue_events_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/events{/number}","events_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/events","assignees_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/assignees{/user}","branches_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/branches{/branch}","tags_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/tags","blobs_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/languages","stargazers_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/stargazers","contributors_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/contributors","subscribers_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/subscribers","subscription_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/subscription","commits_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/contents/{+path}","compare_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/merges","archive_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/downloads","issues_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues{/number}","pulls_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/labels{/name}","releases_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/releases{/id}","deployments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/deployments","created_at":"2013-11-05T23:05:00Z","updated_at":"2016-03-01T15:46:13Z","pushed_at":"2016-03-08T21:35:47Z","git_url":"git://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme.git","ssh_url":"git@github.com:washingtonstateuniversity/WSUWP-spine-parent-theme.git","clone_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme.git","svn_url":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme","homepage":"","size":2045,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289"},"html":{"href":"https://github.com/washingtonstateuniversity/WSUWP-spine-parent-theme/pull/289"},"issue":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/289"},"comments":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289/comments"},"review_comment":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/pulls/289/commits"},"statuses":{"href":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-spine-parent-theme/statuses/49e5d4061239f82ea9d1a999ebd4f8c2f7447d80"}}}}