{"action":"opened","issue":{"url":"https://api.github.com/repos/aristath/kirki/issues/1204","repository_url":"https://api.github.com/repos/aristath/kirki","labels_url":"https://api.github.com/repos/aristath/kirki/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/aristath/kirki/issues/1204/comments","events_url":"https://api.github.com/repos/aristath/kirki/issues/1204/events","html_url":"https://github.com/aristath/kirki/issues/1204","id":195358646,"number":1204,"title":"Repeater field row_label should respect passed in string's casing","user":{"login":"timelsass","id":11907254,"avatar_url":"https://avatars.githubusercontent.com/u/11907254?v=3","gravatar_id":"","url":"https://api.github.com/users/timelsass","html_url":"https://github.com/timelsass","followers_url":"https://api.github.com/users/timelsass/followers","following_url":"https://api.github.com/users/timelsass/following{/other_user}","gists_url":"https://api.github.com/users/timelsass/gists{/gist_id}","starred_url":"https://api.github.com/users/timelsass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelsass/subscriptions","organizations_url":"https://api.github.com/users/timelsass/orgs","repos_url":"https://api.github.com/users/timelsass/repos","events_url":"https://api.github.com/users/timelsass/events{/privacy}","received_events_url":"https://api.github.com/users/timelsass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T20:24:17Z","updated_at":"2016-12-13T20:24:17Z","closed_at":null,"body":"### Issue description:\r\n\r\nWhen using the repeater field, the row_label always does something like ucwords() and uppercases the first letter of each \"word\" in my strings.\r\n\r\nI would expect the string passed in for the row_label to respect my own casing decisions made.\r\n\r\n### Version used: \r\n\"https://github.com/aristath/kirki.git#2.3.7\"\r\n\r\nattempted:\r\n\"https://github.com/aristath/kirki.git#develop\", but have too many errors currently.  I am upgrading them from 2.3.2 to 2.3.7.\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\r\n```\r\nKirki::add_field( 'contact_details', array(\r\n\t'type'        => 'repeater',\r\n\t'label'       => esc_attr__( 'Contact Details', 'test' ),\r\n\t'section'     => 'footer_panel',\r\n\t'priority'    => 10,\r\n\t'row_label' => array(\r\n\t\t'field' => 'contact_block',\r\n\t\t'type' => 'field',\r\n\t\t'value' => esc_attr__( 'Contact Block', 'test' ),\r\n\t),\r\n\t'settings'    => 'contact_details_setting',\r\n\t'default'     => array(\r\n\t\tarray(\r\n\t\t\t'contact_block' => esc_attr( 'info@example.com' ),\r\n\t\t),\r\n\t),\r\n\t'fields' => array(\r\n\t\t'contact_block' => array(\r\n\t\t\t'type'        => 'text',\r\n\t\t\t'label'       => esc_attr__( 'Text', 'test' ),\r\n\t\t\t'description' => esc_attr__( 'Enter the text to display in your contact details', 'test' ),\r\n\t\t\t'default'     => '',\r\n\t\t),\r\n\t)\r\n) );\r\n```\r\nI expect the row_label for this item to read: info@example.com\r\nInstead I see the row_label as: Info@Example.Com"}}
{"actor":{"display_login":"timelsass"}}