{"action":"closed","issue":{"url":"https://api.github.com/repos/SDavisMedia/vendd/issues/22","labels_url":"https://api.github.com/repos/SDavisMedia/vendd/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/SDavisMedia/vendd/issues/22/comments","events_url":"https://api.github.com/repos/SDavisMedia/vendd/issues/22/events","html_url":"https://github.com/SDavisMedia/vendd/issues/22","id":77179891,"number":22,"title":"Add default option fallbacks for get_theme_mod calls","user":{"login":"mindctrl","id":1254870,"avatar_url":"https://avatars.githubusercontent.com/u/1254870?v=3","gravatar_id":"","url":"https://api.github.com/users/mindctrl","html_url":"https://github.com/mindctrl","followers_url":"https://api.github.com/users/mindctrl/followers","following_url":"https://api.github.com/users/mindctrl/following{/other_user}","gists_url":"https://api.github.com/users/mindctrl/gists{/gist_id}","starred_url":"https://api.github.com/users/mindctrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindctrl/subscriptions","organizations_url":"https://api.github.com/users/mindctrl/orgs","repos_url":"https://api.github.com/users/mindctrl/repos","events_url":"https://api.github.com/users/mindctrl/events{/privacy}","received_events_url":"https://api.github.com/users/mindctrl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-17T01:35:46Z","updated_at":"2015-05-17T03:45:08Z","closed_at":"2015-05-17T03:45:08Z","body":"Example: In `content/content-single.php` line 21, there's no default option passed to the `get_theme_mod` call for `vendd_single_featured_image`, so it doesn't show the featured image on single posts by default without saving the options first. Customizer default indicates it will be shown, and actually does when customizer is invoked, but not on front end.\r\n\r\nThis would fix it:\r\n`if ( has_post_thumbnail() && 1 == get_theme_mod( 'vendd_single_featured_image', 1 ) ) :`\r\n\r\nThere might be others. I can do a PR if you want. Just making notes as I go."}}