{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1286","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1286/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1286/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1286/events","html_url":"https://github.com/wp-cli/wp-cli/issues/1286","id":38327921,"number":1286,"title":"--url precedence in core install","user":{"login":"szepeviktor","id":952007,"avatar_url":"https://avatars.githubusercontent.com/u/952007?v=3","gravatar_id":"","url":"https://api.github.com/users/szepeviktor","html_url":"https://github.com/szepeviktor","followers_url":"https://api.github.com/users/szepeviktor/followers","following_url":"https://api.github.com/users/szepeviktor/following{/other_user}","gists_url":"https://api.github.com/users/szepeviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/szepeviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szepeviktor/subscriptions","organizations_url":"https://api.github.com/users/szepeviktor/orgs","repos_url":"https://api.github.com/users/szepeviktor/repos","events_url":"https://api.github.com/users/szepeviktor/events{/privacy}","received_events_url":"https://api.github.com/users/szepeviktor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:command","name":"scope:command","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-07-21T18:02:28Z","updated_at":"2015-06-24T15:14:56Z","closed_at":"2015-06-24T15:14:11Z","body":"Steps to reproduce:\r\n\r\n- `wp core download` in webroot (/var/www/site)\r\n- create wp-cli.yml in the parent dir (/var/www)\r\n- move everything into a subdir and copy index.php with modification (/var/www/site/secret)\r\n- `wp core download`\r\n- `wp core config --url=http://someurl`\r\n\r\n`siteurl` and `home` options will be set to the URL specified in the YAML, not the one on the command line.\r\n\r\nTo debug: `error_log('AA[url] ' . $assoc_args['url']);`\r\nat https://github.com/wp-cli/wp-cli/blob/master/php/commands/core.php#L480\r\n\r\n*This has moved to [line #571](https://github.com/wp-cli/wp-cli/blob/master/php/commands/core.php#L571)"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/114902989","html_url":"https://github.com/wp-cli/wp-cli/issues/1286#issuecomment-114902989","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1286","id":114902989,"user":{"login":"szepeviktor","id":952007,"avatar_url":"https://avatars.githubusercontent.com/u/952007?v=3","gravatar_id":"","url":"https://api.github.com/users/szepeviktor","html_url":"https://github.com/szepeviktor","followers_url":"https://api.github.com/users/szepeviktor/followers","following_url":"https://api.github.com/users/szepeviktor/following{/other_user}","gists_url":"https://api.github.com/users/szepeviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/szepeviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szepeviktor/subscriptions","organizations_url":"https://api.github.com/users/szepeviktor/orgs","repos_url":"https://api.github.com/users/szepeviktor/repos","events_url":"https://api.github.com/users/szepeviktor/events{/privacy}","received_events_url":"https://api.github.com/users/szepeviktor/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T15:14:55Z","updated_at":"2015-06-24T15:14:55Z","body":"I am content with reverting `home` after `wp core install`."}}