{"action":"created","issue":{"url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/32","labels_url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/32/comments","events_url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/32/events","html_url":"https://github.com/ultimatemember/ultimatemember/issues/32","id":116369523,"number":32,"title":"Remove stream photos from upload directory clean up.","user":{"login":"champsupertramp","id":12200688,"avatar_url":"https://avatars.githubusercontent.com/u/12200688?v=3","gravatar_id":"","url":"https://api.github.com/users/champsupertramp","html_url":"https://github.com/champsupertramp","followers_url":"https://api.github.com/users/champsupertramp/followers","following_url":"https://api.github.com/users/champsupertramp/following{/other_user}","gists_url":"https://api.github.com/users/champsupertramp/gists{/gist_id}","starred_url":"https://api.github.com/users/champsupertramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/champsupertramp/subscriptions","organizations_url":"https://api.github.com/users/champsupertramp/orgs","repos_url":"https://api.github.com/users/champsupertramp/repos","events_url":"https://api.github.com/users/champsupertramp/events{/privacy}","received_events_url":"https://api.github.com/users/champsupertramp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ultimatemember/ultimatemember/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ultimatemember/ultimatemember/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-11T16:22:33Z","updated_at":"2015-11-16T13:49:27Z","closed_at":null,"body":"Hi,\r\n\r\nWe have reported issues about stream photos getting broken images after updating user profiles.\r\n\r\nI found the bug in https://github.com/ultimatemember/ultimatemember/blob/master/core/um-actions-user.php#L20\r\n\r\nRelated with my proposal here: https://github.com/ultimatemember/ultimatemember/issues/31\r\n\r\nWe need to add the `stream_photo` in the validation to fix the issue. see example below:\r\n```PHP\r\nif ( !strstr( $str, 'profile_photo') && !strstr( $str, 'cover_photo') && !strstr( $str, 'stream_photo' ) && !preg_grep('/' . $str . '/', $array ) )\r\n```\r\n\r\nDo you think the above changes may cause issues to all existing sites?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/comments/157031439","html_url":"https://github.com/ultimatemember/ultimatemember/issues/32#issuecomment-157031439","issue_url":"https://api.github.com/repos/ultimatemember/ultimatemember/issues/32","id":157031439,"user":{"login":"ultimatemember","id":10200406,"avatar_url":"https://avatars.githubusercontent.com/u/10200406?v=3","gravatar_id":"","url":"https://api.github.com/users/ultimatemember","html_url":"https://github.com/ultimatemember","followers_url":"https://api.github.com/users/ultimatemember/followers","following_url":"https://api.github.com/users/ultimatemember/following{/other_user}","gists_url":"https://api.github.com/users/ultimatemember/gists{/gist_id}","starred_url":"https://api.github.com/users/ultimatemember/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultimatemember/subscriptions","organizations_url":"https://api.github.com/users/ultimatemember/orgs","repos_url":"https://api.github.com/users/ultimatemember/repos","events_url":"https://api.github.com/users/ultimatemember/events{/privacy}","received_events_url":"https://api.github.com/users/ultimatemember/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T13:49:27Z","updated_at":"2015-11-16T13:49:27Z","body":"It does not seem pushed yet in that commit. Can you please check it?\r\nhttps://github.com/ultimatemember/ultimatemember/blob/master/core/um-actions-user.php#L34"}}