{"action":"created","issue":{"url":"https://api.github.com/repos/aristath/kirki/issues/861","repository_url":"https://api.github.com/repos/aristath/kirki","labels_url":"https://api.github.com/repos/aristath/kirki/issues/861/labels{/name}","comments_url":"https://api.github.com/repos/aristath/kirki/issues/861/comments","events_url":"https://api.github.com/repos/aristath/kirki/issues/861/events","html_url":"https://github.com/aristath/kirki/issues/861","id":147101112,"number":861,"title":"Spacing control causes Customizer to not to load","user":{"login":"rahulnever2far","id":3503359,"avatar_url":"https://avatars.githubusercontent.com/u/3503359?v=3","gravatar_id":"","url":"https://api.github.com/users/rahulnever2far","html_url":"https://github.com/rahulnever2far","followers_url":"https://api.github.com/users/rahulnever2far/followers","following_url":"https://api.github.com/users/rahulnever2far/following{/other_user}","gists_url":"https://api.github.com/users/rahulnever2far/gists{/gist_id}","starred_url":"https://api.github.com/users/rahulnever2far/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahulnever2far/subscriptions","organizations_url":"https://api.github.com/users/rahulnever2far/orgs","repos_url":"https://api.github.com/users/rahulnever2far/repos","events_url":"https://api.github.com/users/rahulnever2far/events{/privacy}","received_events_url":"https://api.github.com/users/rahulnever2far/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-09T07:19:45Z","updated_at":"2016-04-09T16:36:08Z","closed_at":null,"body":"### Issue description:\r\nIf spacing control is added, the Customizer keeps on loading forever. I tried to track it down. Issue seem to be with lines 43-45 of [class-kirki-controls-spacing-control.php](https://github.com/aristath/kirki/blob/develop/includes/controls/class-kirki-controls-spacing-control.php#L43-45). I'm not sure though.\r\n\r\nIt used to work in v2.2.7.\r\n\r\n### Version used:\r\nLatest develop branch, [1b3dab8](https://github.com/aristath/kirki/commit/1b3dab8b5dda5043e416c76e583c0c4b8b8e35c7).\r\n\r\n### Using theme_mods or options?\r\ntheme_mods\r\n\r\n### Code to reproduce the issue (config + field(s))\r\n```PHP\r\nKirki::add_config( 'my_config', array(\r\n  'capability'  => 'edit_theme_options',\r\n  'option_type' => 'theme_mod',\r\n) );\r\n```\r\n```PHP\r\nKirki::add_field( 'my_config', array(\r\n  'settings'  => 'my_spacing',\r\n  'section'   => 'my_section',\r\n  'label'     => esc_html__( 'Spacing', 'example' ),\r\n  'type'      => 'spacing',\r\n  'default'   => array(\r\n    'top'    => '5px',\r\n    'right'  => '10px',\r\n    'bottom' => '5px',\r\n    'left'   => '10px',\r\n  ),\r\n  'transport' => 'auto',\r\n  'output'    => array(\r\n    array(\r\n      'element'  => '.test a',\r\n      'property' => 'padding',\r\n    ),\r\n  ),\r\n) );\r\n```"},"comment":{"url":"https://api.github.com/repos/aristath/kirki/issues/comments/207816491","html_url":"https://github.com/aristath/kirki/issues/861#issuecomment-207816491","issue_url":"https://api.github.com/repos/aristath/kirki/issues/861","id":207816491,"user":{"login":"aristath","id":588688,"avatar_url":"https://avatars.githubusercontent.com/u/588688?v=3","gravatar_id":"","url":"https://api.github.com/users/aristath","html_url":"https://github.com/aristath","followers_url":"https://api.github.com/users/aristath/followers","following_url":"https://api.github.com/users/aristath/following{/other_user}","gists_url":"https://api.github.com/users/aristath/gists{/gist_id}","starred_url":"https://api.github.com/users/aristath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristath/subscriptions","organizations_url":"https://api.github.com/users/aristath/orgs","repos_url":"https://api.github.com/users/aristath/repos","events_url":"https://api.github.com/users/aristath/events{/privacy}","received_events_url":"https://api.github.com/users/aristath/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T16:36:08Z","updated_at":"2016-04-09T16:36:08Z","body":"I just tried adding this and had no issues...\r\nIf you look at the console in your browser, do you see any errors?\r\n\r\nCan you please do a `var_dump( get_theme_mod( 'my_setting' ) );` too? Perhaps the saved value is improperly formatted?"}}