{"action":"opened","issue":{"url":"https://api.github.com/repos/jaredatch/Shared-Counts/issues/67","repository_url":"https://api.github.com/repos/jaredatch/Shared-Counts","labels_url":"https://api.github.com/repos/jaredatch/Shared-Counts/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/jaredatch/Shared-Counts/issues/67/comments","events_url":"https://api.github.com/repos/jaredatch/Shared-Counts/issues/67/events","html_url":"https://github.com/jaredatch/Shared-Counts/issues/67","id":359135734,"node_id":"MDU6SXNzdWUzNTkxMzU3MzQ=","number":67,"title":"Fix for Email counts not working","user":{"login":"thartl","id":7971582,"node_id":"MDQ6VXNlcjc5NzE1ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/7971582?v=4","gravatar_id":"","url":"https://api.github.com/users/thartl","html_url":"https://github.com/thartl","followers_url":"https://api.github.com/users/thartl/followers","following_url":"https://api.github.com/users/thartl/following{/other_user}","gists_url":"https://api.github.com/users/thartl/gists{/gist_id}","starred_url":"https://api.github.com/users/thartl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thartl/subscriptions","organizations_url":"https://api.github.com/users/thartl/orgs","repos_url":"https://api.github.com/users/thartl/repos","events_url":"https://api.github.com/users/thartl/events{/privacy}","received_events_url":"https://api.github.com/users/thartl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T16:59:13Z","updated_at":"2018-09-11T16:59:13Z","closed_at":null,"author_association":"NONE","body":"Email counts were not incrementing for me and a couple small code edits made it work.\r\nI thought I'd share in case this is a valid fix.  I will fork and submit a pull request.\r\n\r\n## Plugin version - 1.2.0\r\n\r\n## Current Behavior\r\nWith the plugin set to use SharedCount.com as Count Source, email shares were not incrementing.\r\n\r\n## Possible Solution\r\nIn class-shared-counts-core.php:\r\n1) On Line 125, changed the comparison operator from === to !==\r\n2) On Line 127, changed post-increment ($count++) to pre-increment (++$count)\r\n\r\n## Steps to Reproduce (for bugs)\r\n"}}
{"actor":{"display_login":"thartl"}}