{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/8474","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/8474/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/8474/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/8474/events","html_url":"https://github.com/WordPress/gutenberg/issues/8474","id":347557308,"node_id":"MDU6SXNzdWUzNDc1NTczMDg=","number":8474,"title":"Saving a post does not update the Featured Image box","user":{"login":"MartinStehle","id":6399266,"node_id":"MDQ6VXNlcjYzOTkyNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/6399266?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinStehle","html_url":"https://github.com/MartinStehle","followers_url":"https://api.github.com/users/MartinStehle/followers","following_url":"https://api.github.com/users/MartinStehle/following{/other_user}","gists_url":"https://api.github.com/users/MartinStehle/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinStehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinStehle/subscriptions","organizations_url":"https://api.github.com/users/MartinStehle/orgs","repos_url":"https://api.github.com/users/MartinStehle/repos","events_url":"https://api.github.com/users/MartinStehle/events{/privacy}","received_events_url":"https://api.github.com/users/MartinStehle/received_events","type":"User","site_admin":false},"labels":[{"id":812924994,"node_id":"MDU6TGFiZWw4MTI5MjQ5OTQ=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Backwards%20Compatibility","name":"Backwards Compatibility","color":"655104","default":false},{"id":567484057,"node_id":"MDU6TGFiZWw1Njc0ODQwNTc=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Documentation","name":"Documentation","color":"bfd4f2","default":false},{"id":631490822,"node_id":"MDU6TGFiZWw2MzE0OTA4MjI=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Extensibility","name":"Extensibility","color":"655104","default":false},{"id":967917224,"node_id":"MDU6TGFiZWw5Njc5MTcyMjQ=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Component]%20Saving","name":"[Component] Saving","color":"fbca04","default":false},{"id":967046651,"node_id":"MDU6TGFiZWw5NjcwNDY2NTE=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Status]%20Won't%20Fix","name":"[Status] Won't Fix","color":"0052cc","default":false},{"id":808238501,"node_id":"MDU6TGFiZWw4MDgyMzg1MDE=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Type]%20Help%20Request","name":"[Type] Help Request","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":{"login":"danielbachhuber","id":36432,"node_id":"MDQ6VXNlcjM2NDMy","avatar_url":"https://avatars1.githubusercontent.com/u/36432?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"assignees":[{"login":"danielbachhuber","id":36432,"node_id":"MDQ6VXNlcjM2NDMy","avatar_url":"https://avatars1.githubusercontent.com/u/36432?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2018-08-03T22:53:06Z","updated_at":"2018-10-01T13:10:45Z","closed_at":"2018-09-29T13:11:54Z","author_association":"NONE","body":"<!--\r\nBEFORE POSTING YOUR ISSUE:\r\n- These comments won't show up when you submit the issue.\r\n- Try to add as much detail as possible. Be specific!\r\n- Please add the version of Gutenberg you are using in the description.\r\n- If you're requesting a new feature, explain why you'd like it to be added.\r\n- Search this repository for issues and pull requests and whether it has been fixed or reported already.\r\n- Ensure you are using the latest code before logging bugs.\r\n- Disable all plugins to ensure it's not a plugin conflict issue.\r\n- To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress.\r\n-->\r\n\r\n## Issue Overview\r\nIf a post is saved the Featured Image panel does not change if changes of the post featured image via the \"save_post\" hook were fired.\r\n\r\n## Steps to Reproduce\r\n<!-- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!-- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. In the functions.php add an action on \"save_post\" which sets a featured image for the saved post; the WP core function \"set_post_thumbnail()\" helps. Imagine a code like:\r\n```\r\nfunction test_save_post_hook( $post_id = 0 ) {\r\n\t// change the second parameter to an ID \r\n\t// of an existing image in the media library\r\n\tset_post_thumbnail( $post_id, 44 ); \r\n);\r\nadd_action( 'save_post', 'test_save_post_hook', 10, 1 );\r\n```\r\n2. Create a post with dummy texts and save it as a draft or as a published post (this does not matter here).\r\n3. Look at the Featured Image panel: there is no change.\r\n4. Open the post edit page again: the featured image is displayed.\r\n\r\n## Expected Behavior\r\nIt is expected that the Featured Image panel is updated on any change via the \"save_post\" hook after saving the post.\r\n\r\n## Current Behavior\r\nThe Featured Image panel is not updated on any change via the \"save_post\" hook after saving the post.\r\n\r\n## Possible Solution\r\nAlso consider the Featured Image panel when saving the post: was a featured image set, modified or deleted? If so, update the Featured Image panel accordingly."},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/425901724","html_url":"https://github.com/WordPress/gutenberg/issues/8474#issuecomment-425901724","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/8474","id":425901724,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTkwMTcyNA==","user":{"login":"danielbachhuber","id":36432,"node_id":"MDQ6VXNlcjM2NDMy","avatar_url":"https://avatars1.githubusercontent.com/u/36432?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T13:10:45Z","updated_at":"2018-10-01T13:10:45Z","author_association":"MEMBER","body":"> However, you'll notice in my GIF that the image doesn't actually load. It looks like this issue is documented with #9982\r\n\r\nActually, this issue was #10214"}}
{"actor":{"display_login":"danielbachhuber"}}