{"action":"created","issue":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/32","labels_url":"https://api.github.com/repos/rilwis/meta-box/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/rilwis/meta-box/issues/32/comments","events_url":"https://api.github.com/repos/rilwis/meta-box/issues/32/events","html_url":"https://github.com/rilwis/meta-box/issues/32","id":2588851,"number":32,"title":"Save field content as single value","user":{"login":"franz-josef-kaiser","id":387666,"avatar_url":"https://avatars.githubusercontent.com/u/387666?v=3","gravatar_id":"","url":"https://api.github.com/users/franz-josef-kaiser","html_url":"https://github.com/franz-josef-kaiser","followers_url":"https://api.github.com/users/franz-josef-kaiser/followers","following_url":"https://api.github.com/users/franz-josef-kaiser/following{/other_user}","gists_url":"https://api.github.com/users/franz-josef-kaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/franz-josef-kaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz-josef-kaiser/subscriptions","organizations_url":"https://api.github.com/users/franz-josef-kaiser/orgs","repos_url":"https://api.github.com/users/franz-josef-kaiser/repos","events_url":"https://api.github.com/users/franz-josef-kaiser/events{/privacy}","received_events_url":"https://api.github.com/users/franz-josef-kaiser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rilwis/meta-box/labels/Feature%20Request","name":"Feature Request","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2011-12-17T13:43:44Z","updated_at":"2015-02-10T15:09:06Z","closed_at":"2015-02-10T15:09:06Z","body":"Currently `do_field_class_actions` always saves an `array`, due to `$args[] = $field`. This is a little bit annoying, as it successfully prevents meta queries. We need to add a `single_value` argument."},"comment":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/comments/73714557","html_url":"https://github.com/rilwis/meta-box/issues/32#issuecomment-73714557","issue_url":"https://api.github.com/repos/rilwis/meta-box/issues/32","id":73714557,"user":{"login":"rilwis","id":668274,"avatar_url":"https://avatars.githubusercontent.com/u/668274?v=3","gravatar_id":"","url":"https://api.github.com/users/rilwis","html_url":"https://github.com/rilwis","followers_url":"https://api.github.com/users/rilwis/followers","following_url":"https://api.github.com/users/rilwis/following{/other_user}","gists_url":"https://api.github.com/users/rilwis/gists{/gist_id}","starred_url":"https://api.github.com/users/rilwis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rilwis/subscriptions","organizations_url":"https://api.github.com/users/rilwis/orgs","repos_url":"https://api.github.com/users/rilwis/repos","events_url":"https://api.github.com/users/rilwis/events{/privacy}","received_events_url":"https://api.github.com/users/rilwis/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T15:09:06Z","updated_at":"2015-02-10T15:09:06Z","body":"I think this issue can be closed. For reference, this is how we do with saving fields with \"multiple\" option:\r\n\r\n- If field is \"multiple\" and **not** clone: each value is saved as a row in database\r\n- If field is \"multiple\" and \"clone\": field value will be saved as a single row in database (in form of an array)"}}