{"action":"closed","issue":{"url":"https://api.github.com/repos/woothemes/sensei/issues/1001","labels_url":"https://api.github.com/repos/woothemes/sensei/issues/1001/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/sensei/issues/1001/comments","events_url":"https://api.github.com/repos/woothemes/sensei/issues/1001/events","html_url":"https://github.com/woothemes/sensei/issues/1001","id":96567738,"number":1001,"title":"[1.9] the [sensei_teachers] shortcode breaks unless both include=\"\" and exclude=\"\" are passed to it","user":{"login":"mahangu","id":10125810,"avatar_url":"https://avatars.githubusercontent.com/u/10125810?v=3","gravatar_id":"","url":"https://api.github.com/users/mahangu","html_url":"https://github.com/mahangu","followers_url":"https://api.github.com/users/mahangu/followers","following_url":"https://api.github.com/users/mahangu/following{/other_user}","gists_url":"https://api.github.com/users/mahangu/gists{/gist_id}","starred_url":"https://api.github.com/users/mahangu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahangu/subscriptions","organizations_url":"https://api.github.com/users/mahangu/orgs","repos_url":"https://api.github.com/users/mahangu/repos","events_url":"https://api.github.com/users/mahangu/events{/privacy}","received_events_url":"https://api.github.com/users/mahangu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/sensei/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/woothemes/sensei/milestones/27","html_url":"https://github.com/woothemes/sensei/milestones/1.9%20Front%20end%20enhancements","labels_url":"https://api.github.com/repos/woothemes/sensei/milestones/27/labels","id":1164752,"number":27,"title":"1.9 Front end enhancements","description":"","creator":{"login":"danjjohnson","id":1990037,"avatar_url":"https://avatars.githubusercontent.com/u/1990037?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjohnson","html_url":"https://github.com/danjjohnson","followers_url":"https://api.github.com/users/danjjohnson/followers","following_url":"https://api.github.com/users/danjjohnson/following{/other_user}","gists_url":"https://api.github.com/users/danjjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjohnson/subscriptions","organizations_url":"https://api.github.com/users/danjjohnson/orgs","repos_url":"https://api.github.com/users/danjjohnson/repos","events_url":"https://api.github.com/users/danjjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/danjjohnson/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":24,"state":"open","created_at":"2015-06-15T12:00:02Z","updated_at":"2015-08-31T16:45:15Z","due_on":"2015-09-10T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-22T13:27:26Z","updated_at":"2015-08-31T16:45:15Z","closed_at":"2015-08-31T16:45:15Z","body":"The `[sensei_teachers] ` shortcode breaks when used without both the `include=\"\"` and `exclude=\"\"` attributes.\r\n\r\n![ndnje2_zam-2000x2000](https://cloud.githubusercontent.com/assets/10125810/8826270/d8039c8c-30a2-11e5-9c34-bee19d82f26c.png)\r\n\r\nCurrently:\r\n- Passing only one of the attributes breaks the shortcode.\r\n- Passing no attributes breaks the shortcode.\r\n\r\nSteps to reproduce:\r\n- Create a user with the role of 'Teacher'\r\n- Use the `[sensei_teachers]` shortcode on a Post or Page, without either `include=\"\"` or `exclude=\"\"`.\r\n"}}