{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/comments/30359740","id":30359740,"diff_hunk":"@@ -93,7 +93,7 @@ public function post_meta_inspector() {\n \t\t?>\n \t\t\t<?php foreach( $values as $value ) : ?>\n \t\t\t<?php\n-\t\t\t\t$value = var_export( $value, true );\n+\t\t\t\t$value = apply_filter( 'pmi_modify_post_meta_value', var_export( maybe_unserialize( $value ), true ), $key, $value );","path":"post-meta-inspector.php","position":5,"original_position":5,"commit_id":"a974554ac9004b05a2d20b9fd1b8dc97ec583325","original_commit_id":"a974554ac9004b05a2d20b9fd1b8dc97ec583325","user":{"login":"mjangda","id":86105,"avatar_url":"https://avatars.githubusercontent.com/u/86105?v=3","gravatar_id":"","url":"https://api.github.com/users/mjangda","html_url":"https://github.com/mjangda","followers_url":"https://api.github.com/users/mjangda/followers","following_url":"https://api.github.com/users/mjangda/following{/other_user}","gists_url":"https://api.github.com/users/mjangda/gists{/gist_id}","starred_url":"https://api.github.com/users/mjangda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjangda/subscriptions","organizations_url":"https://api.github.com/users/mjangda/orgs","repos_url":"https://api.github.com/users/mjangda/repos","events_url":"https://api.github.com/users/mjangda/events{/privacy}","received_events_url":"https://api.github.com/users/mjangda/received_events","type":"User","site_admin":false},"body":"Typo; should be `apply_filters`","created_at":"2015-05-14T20:35:00Z","updated_at":"2015-05-14T20:35:00Z","html_url":"https://github.com/Automattic/Post-Meta-Inspector/pull/15#discussion_r30359740","pull_request_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/comments/30359740"},"html":{"href":"https://github.com/Automattic/Post-Meta-Inspector/pull/15#discussion_r30359740"},"pull_request":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15","id":35459113,"html_url":"https://github.com/Automattic/Post-Meta-Inspector/pull/15","diff_url":"https://github.com/Automattic/Post-Meta-Inspector/pull/15.diff","patch_url":"https://github.com/Automattic/Post-Meta-Inspector/pull/15.patch","issue_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/15","number":15,"state":"open","locked":false,"title":"Add filter to post_meta value","user":{"login":"sboisvert","id":289193,"avatar_url":"https://avatars.githubusercontent.com/u/289193?v=3","gravatar_id":"","url":"https://api.github.com/users/sboisvert","html_url":"https://github.com/sboisvert","followers_url":"https://api.github.com/users/sboisvert/followers","following_url":"https://api.github.com/users/sboisvert/following{/other_user}","gists_url":"https://api.github.com/users/sboisvert/gists{/gist_id}","starred_url":"https://api.github.com/users/sboisvert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboisvert/subscriptions","organizations_url":"https://api.github.com/users/sboisvert/orgs","repos_url":"https://api.github.com/users/sboisvert/repos","events_url":"https://api.github.com/users/sboisvert/events{/privacy}","received_events_url":"https://api.github.com/users/sboisvert/received_events","type":"User","site_admin":false},"body":"In some cases it is useful to have a more granular control over what post_meta is shown to the end user. Or modify some values before showing them to the user (json_decode, base64_decode, etc)","created_at":"2015-05-14T20:33:19Z","updated_at":"2015-05-14T20:35:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f0949807d967ca60c7c7075bca3242058a9afeb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/15/comments","statuses_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/statuses/a974554ac9004b05a2d20b9fd1b8dc97ec583325","head":{"label":"Automattic:filter-meta-value","ref":"filter-meta-value","sha":"a974554ac9004b05a2d20b9fd1b8dc97ec583325","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":6055811,"name":"Post-Meta-Inspector","full_name":"Automattic/Post-Meta-Inspector","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/Post-Meta-Inspector","description":"Peer inside your post meta","fork":false,"url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector","forks_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/forks","keys_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/teams","hooks_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/hooks","issue_events_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/events","assignees_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/tags","blobs_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/languages","stargazers_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/stargazers","contributors_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/contributors","subscribers_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/subscribers","subscription_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/subscription","commits_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/merges","archive_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/downloads","issues_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/releases{/id}","created_at":"2012-10-03T05:16:04Z","updated_at":"2014-10-06T07:02:32Z","pushed_at":"2015-05-14T20:33:19Z","git_url":"git://github.com/Automattic/Post-Meta-Inspector.git","ssh_url":"git@github.com:Automattic/Post-Meta-Inspector.git","clone_url":"https://github.com/Automattic/Post-Meta-Inspector.git","svn_url":"https://github.com/Automattic/Post-Meta-Inspector","homepage":null,"size":223,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":18,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"79d719f19ee5eecc9765a7a8a7de31c7023ff16d","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":6055811,"name":"Post-Meta-Inspector","full_name":"Automattic/Post-Meta-Inspector","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/Post-Meta-Inspector","description":"Peer inside your post meta","fork":false,"url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector","forks_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/forks","keys_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/teams","hooks_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/hooks","issue_events_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/events","assignees_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/tags","blobs_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/languages","stargazers_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/stargazers","contributors_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/contributors","subscribers_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/subscribers","subscription_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/subscription","commits_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/merges","archive_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/downloads","issues_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/releases{/id}","created_at":"2012-10-03T05:16:04Z","updated_at":"2014-10-06T07:02:32Z","pushed_at":"2015-05-14T20:33:19Z","git_url":"git://github.com/Automattic/Post-Meta-Inspector.git","ssh_url":"git@github.com:Automattic/Post-Meta-Inspector.git","clone_url":"https://github.com/Automattic/Post-Meta-Inspector.git","svn_url":"https://github.com/Automattic/Post-Meta-Inspector","homepage":null,"size":223,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15"},"html":{"href":"https://github.com/Automattic/Post-Meta-Inspector/pull/15"},"issue":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/15"},"comments":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/Post-Meta-Inspector/statuses/a974554ac9004b05a2d20b9fd1b8dc97ec583325"}}}}