{"action":"created","comment":{"url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/comments/70835930","id":70835930,"diff_hunk":"@@ -467,68 +467,50 @@ public function ajax_validate_key() {\n \t\t/**\n \t\t * processes variable substitutions for server-side API message\n \t\t */\n-\t\tprivate function get_api_message( $info ) {\n+\t\tprivate function get_api_message( $pluginInfo ) {\n \t\t\t// this default message should never show, but is here as a fallback just in case.\n \t\t\t$message = sprintf(\n \t\t\t\tesc_html__( 'Sorry, there is a problem with your license key. You\\'ll need to %scheck your license%s to have access to updates, downloads, and support.', 'tribe-common' ),\n \t\t\t\t'<a href=\"https://theeventscalendar.com/license-keys/\">',\n \t\t\t\t'</a>'\n \t\t\t);\n \n-\t\t\tif ( ! empty( $info->api_invalid_message ) ) {\n-\t\t\t\t$message = wp_kses( $info->api_invalid_message, 'post' );\n+\t\t\tif ( ! empty( $pluginInfo->api_invalid_message ) ) {\n+\t\t\t\t$message = wp_kses( $pluginInfo->api_invalid_message, 'post' );\n \t\t\t}\n \n \t\t\t$message = str_replace( '%plugin_name%', '<b>' . $this->get_plugin_name() . '</b>', $message );\n \t\t\t$message = str_replace( '%plugin_slug%', $this->get_slug(), $message );\n \t\t\t$message = str_replace( '%update_url%', $this->get_pue_update_url(), $message );\n-\t\t\t$message = str_replace( '%version%', $info->version, $message );\n+\t\t\t$message = str_replace( '%version%', $pluginInfo->version, $message );\n \n \t\t\treturn $message;\n \t\t}\n \n \t\t/**\n-\t\t * Echo JSON formatted errors\n+\t\t * Displays an error notice if a premium plugin is activated and the license is expired\n+\t\t *\n+\t\t * @since 4.3\n \t\t */\n-\t\tpublic function display_json_error() {","path":"src/Tribe/PUE/Checker.php","position":43,"original_position":43,"commit_id":"44f2fe5a01c48a3919d0a71e3368f0e69355e25e","original_commit_id":"44f2fe5a01c48a3919d0a71e3368f0e69355e25e","user":{"login":"trishasalas","id":1389653,"avatar_url":"https://avatars.githubusercontent.com/u/1389653?v=3","gravatar_id":"","url":"https://api.github.com/users/trishasalas","html_url":"https://github.com/trishasalas","followers_url":"https://api.github.com/users/trishasalas/followers","following_url":"https://api.github.com/users/trishasalas/following{/other_user}","gists_url":"https://api.github.com/users/trishasalas/gists{/gist_id}","starred_url":"https://api.github.com/users/trishasalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trishasalas/subscriptions","organizations_url":"https://api.github.com/users/trishasalas/orgs","repos_url":"https://api.github.com/users/trishasalas/repos","events_url":"https://api.github.com/users/trishasalas/events{/privacy}","received_events_url":"https://api.github.com/users/trishasalas/received_events","type":"User","site_admin":false},"body":"same code inside the newly renamed method","created_at":"2016-07-14T16:20:29Z","updated_at":"2016-07-14T16:20:29Z","html_url":"https://github.com/moderntribe/tribe-common/pull/132#discussion_r70835930","pull_request_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/comments/70835930"},"html":{"href":"https://github.com/moderntribe/tribe-common/pull/132#discussion_r70835930"},"pull_request":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132","id":77062833,"html_url":"https://github.com/moderntribe/tribe-common/pull/132","diff_url":"https://github.com/moderntribe/tribe-common/pull/132.diff","patch_url":"https://github.com/moderntribe/tribe-common/pull/132.patch","issue_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/132","number":132,"state":"open","locked":false,"title":"add the expired license prompt","user":{"login":"trishasalas","id":1389653,"avatar_url":"https://avatars.githubusercontent.com/u/1389653?v=3","gravatar_id":"","url":"https://api.github.com/users/trishasalas","html_url":"https://github.com/trishasalas","followers_url":"https://api.github.com/users/trishasalas/followers","following_url":"https://api.github.com/users/trishasalas/following{/other_user}","gists_url":"https://api.github.com/users/trishasalas/gists{/gist_id}","starred_url":"https://api.github.com/users/trishasalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trishasalas/subscriptions","organizations_url":"https://api.github.com/users/trishasalas/orgs","repos_url":"https://api.github.com/users/trishasalas/repos","events_url":"https://api.github.com/users/trishasalas/events{/privacy}","received_events_url":"https://api.github.com/users/trishasalas/received_events","type":"User","site_admin":false},"body":"also add the panda...but make sure and get the new spirit animal before launch.\r\n\r\nhttps://central.tri.be/issues/45620","created_at":"2016-07-12T05:20:40Z","updated_at":"2016-07-14T16:20:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3cb5856f01a4fcc170e4f35039022f057728c0a1","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/moderntribe/tribe-common/milestones/2","html_url":"https://github.com/moderntribe/tribe-common/milestones/Major%20Release","labels_url":"https://api.github.com/repos/moderntribe/tribe-common/milestones/2/labels","id":1610466,"number":2,"title":"Major Release","description":"Pull requests for the current major release","creator":{"login":"borkweb","id":430385,"avatar_url":"https://avatars.githubusercontent.com/u/430385?v=3","gravatar_id":"","url":"https://api.github.com/users/borkweb","html_url":"https://github.com/borkweb","followers_url":"https://api.github.com/users/borkweb/followers","following_url":"https://api.github.com/users/borkweb/following{/other_user}","gists_url":"https://api.github.com/users/borkweb/gists{/gist_id}","starred_url":"https://api.github.com/users/borkweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borkweb/subscriptions","organizations_url":"https://api.github.com/users/borkweb/orgs","repos_url":"https://api.github.com/users/borkweb/repos","events_url":"https://api.github.com/users/borkweb/events{/privacy}","received_events_url":"https://api.github.com/users/borkweb/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":25,"state":"open","created_at":"2016-02-28T19:58:25Z","updated_at":"2016-07-14T15:58:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132/commits","review_comments_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132/comments","review_comment_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/132/comments","statuses_url":"https://api.github.com/repos/moderntribe/tribe-common/statuses/44f2fe5a01c48a3919d0a71e3368f0e69355e25e","head":{"label":"moderntribe:feature/45620-improve-expired-license-prompt","ref":"feature/45620-improve-expired-license-prompt","sha":"44f2fe5a01c48a3919d0a71e3368f0e69355e25e","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":41689794,"name":"tribe-common","full_name":"moderntribe/tribe-common","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/tribe-common","description":"Common classes and functions used in our plugins","fork":false,"url":"https://api.github.com/repos/moderntribe/tribe-common","forks_url":"https://api.github.com/repos/moderntribe/tribe-common/forks","keys_url":"https://api.github.com/repos/moderntribe/tribe-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/tribe-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/tribe-common/teams","hooks_url":"https://api.github.com/repos/moderntribe/tribe-common/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/tribe-common/events","assignees_url":"https://api.github.com/repos/moderntribe/tribe-common/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/tribe-common/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/tribe-common/tags","blobs_url":"https://api.github.com/repos/moderntribe/tribe-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/tribe-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/tribe-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/tribe-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/tribe-common/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/tribe-common/languages","stargazers_url":"https://api.github.com/repos/moderntribe/tribe-common/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/tribe-common/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/tribe-common/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/tribe-common/subscription","commits_url":"https://api.github.com/repos/moderntribe/tribe-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/tribe-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/tribe-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/tribe-common/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/tribe-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/tribe-common/merges","archive_url":"https://api.github.com/repos/moderntribe/tribe-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/tribe-common/downloads","issues_url":"https://api.github.com/repos/moderntribe/tribe-common/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/tribe-common/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/tribe-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/tribe-common/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/tribe-common/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/tribe-common/deployments","created_at":"2015-08-31T17:22:40Z","updated_at":"2016-03-24T17:19:26Z","pushed_at":"2016-07-14T15:58:31Z","git_url":"git://github.com/moderntribe/tribe-common.git","ssh_url":"git@github.com:moderntribe/tribe-common.git","clone_url":"https://github.com/moderntribe/tribe-common.git","svn_url":"https://github.com/moderntribe/tribe-common","homepage":null,"size":4986,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"develop"}},"base":{"label":"moderntribe:develop","ref":"develop","sha":"bcd0371be85514a0163cc0d1a0b68ef900e0e815","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":41689794,"name":"tribe-common","full_name":"moderntribe/tribe-common","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars.githubusercontent.com/u/2279551?v=3","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/tribe-common","description":"Common classes and functions used in our plugins","fork":false,"url":"https://api.github.com/repos/moderntribe/tribe-common","forks_url":"https://api.github.com/repos/moderntribe/tribe-common/forks","keys_url":"https://api.github.com/repos/moderntribe/tribe-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/tribe-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/tribe-common/teams","hooks_url":"https://api.github.com/repos/moderntribe/tribe-common/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/tribe-common/events","assignees_url":"https://api.github.com/repos/moderntribe/tribe-common/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/tribe-common/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/tribe-common/tags","blobs_url":"https://api.github.com/repos/moderntribe/tribe-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/tribe-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/tribe-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/tribe-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/tribe-common/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/tribe-common/languages","stargazers_url":"https://api.github.com/repos/moderntribe/tribe-common/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/tribe-common/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/tribe-common/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/tribe-common/subscription","commits_url":"https://api.github.com/repos/moderntribe/tribe-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/tribe-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/tribe-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/tribe-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/tribe-common/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/tribe-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/tribe-common/merges","archive_url":"https://api.github.com/repos/moderntribe/tribe-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/tribe-common/downloads","issues_url":"https://api.github.com/repos/moderntribe/tribe-common/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/tribe-common/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/tribe-common/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/tribe-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/tribe-common/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/tribe-common/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/tribe-common/deployments","created_at":"2015-08-31T17:22:40Z","updated_at":"2016-03-24T17:19:26Z","pushed_at":"2016-07-14T15:58:31Z","git_url":"git://github.com/moderntribe/tribe-common.git","ssh_url":"git@github.com:moderntribe/tribe-common.git","clone_url":"https://github.com/moderntribe/tribe-common.git","svn_url":"https://github.com/moderntribe/tribe-common","homepage":null,"size":4986,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132"},"html":{"href":"https://github.com/moderntribe/tribe-common/pull/132"},"issue":{"href":"https://api.github.com/repos/moderntribe/tribe-common/issues/132"},"comments":{"href":"https://api.github.com/repos/moderntribe/tribe-common/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moderntribe/tribe-common/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/moderntribe/tribe-common/statuses/44f2fe5a01c48a3919d0a71e3368f0e69355e25e"}}}}
{"actor":{"display_login":"trishasalas"}}