{"action":"opened","issue":{"url":"https://api.github.com/repos/Nikeo/customizr/issues/40","labels_url":"https://api.github.com/repos/Nikeo/customizr/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/Nikeo/customizr/issues/40/comments","events_url":"https://api.github.com/repos/Nikeo/customizr/issues/40/events","html_url":"https://github.com/Nikeo/customizr/issues/40","id":55366793,"number":40,"title":"TC_Params","user":{"login":"eri-trabiccolo","id":7689242,"avatar_url":"https://avatars.githubusercontent.com/u/7689242?v=3","gravatar_id":"","url":"https://api.github.com/users/eri-trabiccolo","html_url":"https://github.com/eri-trabiccolo","followers_url":"https://api.github.com/users/eri-trabiccolo/followers","following_url":"https://api.github.com/users/eri-trabiccolo/following{/other_user}","gists_url":"https://api.github.com/users/eri-trabiccolo/gists{/gist_id}","starred_url":"https://api.github.com/users/eri-trabiccolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eri-trabiccolo/subscriptions","organizations_url":"https://api.github.com/users/eri-trabiccolo/orgs","repos_url":"https://api.github.com/users/eri-trabiccolo/repos","events_url":"https://api.github.com/users/eri-trabiccolo/events{/privacy}","received_events_url":"https://api.github.com/users/eri-trabiccolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-24T10:40:53Z","updated_at":"2015-01-24T10:40:53Z","closed_at":null,"body":"https://wordpress.org/support/topic/envira-gallery-images-do-not-load-after-update?replies=4#post-6476252\r\n\r\nWhen a boolean Customizr option isn't set at all, the passed value of that option is \"0\".\r\nWhen you fallback to the default values in tc-scripts: \"0\" || 1 => \"0\" and \"0\" != false \r\n\"0\" == true\r\n\r\nYou can cast all boolean options to bool in php before passing them to the script then\r\n\"\" || 1 => \"\" and \"\" == false, or better don't include boolean params in the default ones (I cannot figure out why are there now, actually :) )."}}