{"action":"created","issue":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/551","labels_url":"https://api.github.com/repos/rilwis/meta-box/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/rilwis/meta-box/issues/551/comments","events_url":"https://api.github.com/repos/rilwis/meta-box/issues/551/events","html_url":"https://github.com/rilwis/meta-box/issues/551","id":56188213,"number":551,"title":"file restriction doesn't work?","user":{"login":"senlin","id":650066,"avatar_url":"https://avatars.githubusercontent.com/u/650066?v=3","gravatar_id":"","url":"https://api.github.com/users/senlin","html_url":"https://github.com/senlin","followers_url":"https://api.github.com/users/senlin/followers","following_url":"https://api.github.com/users/senlin/following{/other_user}","gists_url":"https://api.github.com/users/senlin/gists{/gist_id}","starred_url":"https://api.github.com/users/senlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senlin/subscriptions","organizations_url":"https://api.github.com/users/senlin/orgs","repos_url":"https://api.github.com/users/senlin/repos","events_url":"https://api.github.com/users/senlin/events{/privacy}","received_events_url":"https://api.github.com/users/senlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-02T01:54:00Z","updated_at":"2015-02-04T00:10:57Z","closed_at":null,"body":"I'm trying to use the advanced file upload and want to restrict file upload for PDF only.\r\n\r\nI have tried both `'mime_type' => 'pdf'` and `'mime_type' => 'application/pdf'`, but the metabox still lets me upload other file types.\r\n\r\nHow to make this work properly?"},"comment":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/comments/72764754","html_url":"https://github.com/rilwis/meta-box/issues/551#issuecomment-72764754","issue_url":"https://api.github.com/repos/rilwis/meta-box/issues/551","id":72764754,"user":{"login":"senlin","id":650066,"avatar_url":"https://avatars.githubusercontent.com/u/650066?v=3","gravatar_id":"","url":"https://api.github.com/users/senlin","html_url":"https://github.com/senlin","followers_url":"https://api.github.com/users/senlin/followers","following_url":"https://api.github.com/users/senlin/following{/other_user}","gists_url":"https://api.github.com/users/senlin/gists{/gist_id}","starred_url":"https://api.github.com/users/senlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senlin/subscriptions","organizations_url":"https://api.github.com/users/senlin/orgs","repos_url":"https://api.github.com/users/senlin/repos","events_url":"https://api.github.com/users/senlin/events{/privacy}","received_events_url":"https://api.github.com/users/senlin/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T00:10:57Z","updated_at":"2015-02-04T00:10:57Z","body":"The file also shows in the media list..."}}