{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/4741","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/4741/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/4741/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/4741/events","html_url":"https://github.com/wp-cli/wp-cli/issues/4741","id":307825328,"node_id":"MDU6SXNzdWUzMDc4MjUzMjg=","number":4741,"title":"Quotes in arguments get stripped when using WP-CLI::runcommand with 'launch'=>false","user":{"login":"rosswintle","id":1532368,"node_id":"MDQ6VXNlcjE1MzIzNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/1532368?v=4","gravatar_id":"","url":"https://api.github.com/users/rosswintle","html_url":"https://github.com/rosswintle","followers_url":"https://api.github.com/users/rosswintle/followers","following_url":"https://api.github.com/users/rosswintle/following{/other_user}","gists_url":"https://api.github.com/users/rosswintle/gists{/gist_id}","starred_url":"https://api.github.com/users/rosswintle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosswintle/subscriptions","organizations_url":"https://api.github.com/users/rosswintle/orgs","repos_url":"https://api.github.com/users/rosswintle/repos","events_url":"https://api.github.com/users/rosswintle/events{/privacy}","received_events_url":"https://api.github.com/users/rosswintle/received_events","type":"User","site_admin":false},"labels":[{"id":68353277,"node_id":"MDU6TGFiZWw2ODM1MzI3Nw==","url":"https://api.github.com/repos/wp-cli/wp-cli/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-22T21:42:14Z","updated_at":"2018-10-31T14:53:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Quotes in arguments get stripped when using WP-CLI::runcommand with `'launch'=>false` set\r\n\r\n### Steps to reproduce:\r\n\r\n1. Create a file, `test.php`, containing the following:\r\n\r\n```\r\n<?php\r\nWP_CLI::runcommand( 'post create --post_title=\"Hello world!\"', ['launch' => false]);\r\n```\r\n\r\n2. Run `wp eval-file test.php`\r\n\r\n### Expected result:\r\n\r\nA post is created with the title 'Hello world!\"\r\n\r\n### Actual result\r\n\r\n```\r\n$ wp eval-file test.php\r\nError: Unable to read content from 'world!\"'.\r\n```\r\n\r\n### Other info\r\n\r\nThis doesn't seem to happen if `'launch'=>true`"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/434717763","html_url":"https://github.com/wp-cli/wp-cli/issues/4741#issuecomment-434717763","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/4741","id":434717763,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDcxNzc2Mw==","user":{"login":"schlessera","id":83631,"node_id":"MDQ6VXNlcjgzNjMx","avatar_url":"https://avatars1.githubusercontent.com/u/83631?v=4","gravatar_id":"","url":"https://api.github.com/users/schlessera","html_url":"https://github.com/schlessera","followers_url":"https://api.github.com/users/schlessera/followers","following_url":"https://api.github.com/users/schlessera/following{/other_user}","gists_url":"https://api.github.com/users/schlessera/gists{/gist_id}","starred_url":"https://api.github.com/users/schlessera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlessera/subscriptions","organizations_url":"https://api.github.com/users/schlessera/orgs","repos_url":"https://api.github.com/users/schlessera/repos","events_url":"https://api.github.com/users/schlessera/events{/privacy}","received_events_url":"https://api.github.com/users/schlessera/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T14:53:03Z","updated_at":"2018-10-31T14:53:03Z","author_association":"MEMBER","body":"Related: https://wordpress.slack.com/archives/C02RP4T41/p1540995345199900"}}
{"actor":{"display_login":"schlessera"}}