{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/extension-command/issues/121","repository_url":"https://api.github.com/repos/wp-cli/extension-command","labels_url":"https://api.github.com/repos/wp-cli/extension-command/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/extension-command/issues/121/comments","events_url":"https://api.github.com/repos/wp-cli/extension-command/issues/121/events","html_url":"https://github.com/wp-cli/extension-command/issues/121","id":349796971,"node_id":"MDU6SXNzdWUzNDk3OTY5NzE=","number":121,"title":"Bug: False positive result shown when theme slug is entered in non-lowercase for activation","user":{"login":"arunsathiya","id":18581859,"node_id":"MDQ6VXNlcjE4NTgxODU5","avatar_url":"https://avatars1.githubusercontent.com/u/18581859?v=4","gravatar_id":"","url":"https://api.github.com/users/arunsathiya","html_url":"https://github.com/arunsathiya","followers_url":"https://api.github.com/users/arunsathiya/followers","following_url":"https://api.github.com/users/arunsathiya/following{/other_user}","gists_url":"https://api.github.com/users/arunsathiya/gists{/gist_id}","starred_url":"https://api.github.com/users/arunsathiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunsathiya/subscriptions","organizations_url":"https://api.github.com/users/arunsathiya/orgs","repos_url":"https://api.github.com/users/arunsathiya/repos","events_url":"https://api.github.com/users/arunsathiya/events{/privacy}","received_events_url":"https://api.github.com/users/arunsathiya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T09:04:33Z","updated_at":"2018-08-12T09:05:29Z","closed_at":null,"author_association":"NONE","body":"**Steps to reproduce**: Follow the steps below to reproduce the issue. \r\n\r\n- Enter theme slug in non-lowercase when activating it (Examples: `wp theme activate Dara`, `wp theme \r\n- Notice a success message shown `Success: Switched to 'Dara' theme.`\r\n- Enter `wp theme list` to notice that no themes are active\r\n\r\n```\r\n➜  local wp theme list\r\n+-----------------+----------+--------+---------+\r\n| name            | status   | update | version |\r\n+-----------------+----------+--------+---------+\r\n| dara            | inactive | none   | 1.2.1   |\r\n| twentyseventeen | inactive | none   | 1.7     |\r\n+-----------------+----------+--------+---------+\r\n➜  local\r\n```\r\n\r\n**What is expected:** Theme activation does not go through, and the success notice is not shown.\r\n\r\n**What happens instead:** A success message is shown, but no theme is not activated.\r\n\r\n**Screencast indicating this behaviour:** https://asciinema.org/a/JICHDMDwcPjsVibxZMUlHOHRJ\r\n\r\nIn theory, slug is supposed to be entered in lowercase. \r\n\r\n-- \r\n\r\n- Tested on a local install of WordPress. WordPress 4.9.8\r\n- PHP version: 7.2.8\r\n- WP-CLI version: 2.0.0"},"comment":{"url":"https://api.github.com/repos/wp-cli/extension-command/issues/comments/412329119","html_url":"https://github.com/wp-cli/extension-command/issues/121#issuecomment-412329119","issue_url":"https://api.github.com/repos/wp-cli/extension-command/issues/121","id":412329119,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjMyOTExOQ==","user":{"login":"arunsathiya","id":18581859,"node_id":"MDQ6VXNlcjE4NTgxODU5","avatar_url":"https://avatars1.githubusercontent.com/u/18581859?v=4","gravatar_id":"","url":"https://api.github.com/users/arunsathiya","html_url":"https://github.com/arunsathiya","followers_url":"https://api.github.com/users/arunsathiya/followers","following_url":"https://api.github.com/users/arunsathiya/following{/other_user}","gists_url":"https://api.github.com/users/arunsathiya/gists{/gist_id}","starred_url":"https://api.github.com/users/arunsathiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunsathiya/subscriptions","organizations_url":"https://api.github.com/users/arunsathiya/orgs","repos_url":"https://api.github.com/users/arunsathiya/repos","events_url":"https://api.github.com/users/arunsathiya/events{/privacy}","received_events_url":"https://api.github.com/users/arunsathiya/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T09:05:29Z","updated_at":"2018-08-12T09:05:29Z","author_association":"NONE","body":"Although, upon visiting the site, Dara theme is indeed activated."}}
{"actor":{"display_login":"arunsathiya"}}