{"action":"created","issue":{"url":"https://api.github.com/repos/elliotcondon/acf/issues/403","labels_url":"https://api.github.com/repos/elliotcondon/acf/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/elliotcondon/acf/issues/403/comments","events_url":"https://api.github.com/repos/elliotcondon/acf/issues/403/events","html_url":"https://github.com/elliotcondon/acf/pull/403","id":84161336,"number":403,"title":"Show fields on newly-added media","user":{"login":"tomdxw","id":2256130,"avatar_url":"https://avatars.githubusercontent.com/u/2256130?v=3","gravatar_id":"","url":"https://api.github.com/users/tomdxw","html_url":"https://github.com/tomdxw","followers_url":"https://api.github.com/users/tomdxw/followers","following_url":"https://api.github.com/users/tomdxw/following{/other_user}","gists_url":"https://api.github.com/users/tomdxw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomdxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomdxw/subscriptions","organizations_url":"https://api.github.com/users/tomdxw/orgs","repos_url":"https://api.github.com/users/tomdxw/repos","events_url":"https://api.github.com/users/tomdxw/events{/privacy}","received_events_url":"https://api.github.com/users/tomdxw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T19:08:21Z","updated_at":"2015-06-03T07:45:46Z","closed_at":"2015-06-03T07:45:46Z","pull_request":{"url":"https://api.github.com/repos/elliotcondon/acf/pulls/403","html_url":"https://github.com/elliotcondon/acf/pull/403","diff_url":"https://github.com/elliotcondon/acf/pull/403.diff","patch_url":"https://github.com/elliotcondon/acf/pull/403.patch"},"body":"Steps to reproduce this bug:\r\n\r\nAssuming there are ACF fields defined for for post_type=attachment.\r\n\r\n1. Edit a post (i.e. /wp-admin/post.php?post=19&action=edit)\r\n2. Press \"Add Media\"\r\n3. Click the \"Upload Files\" tab\r\n4. Press \"Select Files\"\r\n5. Pick a file\r\n\r\nOR\r\n\r\n1. Visit the media library (i.e. /wp-admin/upload.php)\r\n2. Press \"Add New\"\r\n3. Press \"Select Files\"\r\n4. Pick a file\r\n5. Click the item in the media library that was just uploaded\r\n\r\nCurrent incorrect behaviour: Any ACF fields defined for post_type=attachment are not shown.\r\n\r\nAfter this patch is applied: The ACF fields are shown just as they are on already-uploaded media items."},"comment":{"url":"https://api.github.com/repos/elliotcondon/acf/issues/comments/108234080","html_url":"https://github.com/elliotcondon/acf/pull/403#issuecomment-108234080","issue_url":"https://api.github.com/repos/elliotcondon/acf/issues/403","id":108234080,"user":{"login":"elliotcondon","id":2296425,"avatar_url":"https://avatars.githubusercontent.com/u/2296425?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotcondon","html_url":"https://github.com/elliotcondon","followers_url":"https://api.github.com/users/elliotcondon/followers","following_url":"https://api.github.com/users/elliotcondon/following{/other_user}","gists_url":"https://api.github.com/users/elliotcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotcondon/subscriptions","organizations_url":"https://api.github.com/users/elliotcondon/orgs","repos_url":"https://api.github.com/users/elliotcondon/repos","events_url":"https://api.github.com/users/elliotcondon/events{/privacy}","received_events_url":"https://api.github.com/users/elliotcondon/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T07:45:46Z","updated_at":"2015-06-03T07:45:46Z","body":"Hi @tomdxw \r\n\r\nThanks for the issue and fix. I've just done some testing and found that you are exactly correct.\r\nI've applied your fix, but changed the syntax slightly.\r\n\r\nI can't wait to release v5 as a free version, this is not an issue in v5!"}}