{"action":"opened","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2708","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2708/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2708/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2708/events","html_url":"https://github.com/wp-cli/wp-cli/issues/2708","id":151985755,"number":2708,"title":"wp-cli installing plugins that were not requested","user":{"login":"jschank","id":30314,"avatar_url":"https://avatars.githubusercontent.com/u/30314?v=3","gravatar_id":"","url":"https://api.github.com/users/jschank","html_url":"https://github.com/jschank","followers_url":"https://api.github.com/users/jschank/followers","following_url":"https://api.github.com/users/jschank/following{/other_user}","gists_url":"https://api.github.com/users/jschank/gists{/gist_id}","starred_url":"https://api.github.com/users/jschank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschank/subscriptions","organizations_url":"https://api.github.com/users/jschank/orgs","repos_url":"https://api.github.com/users/jschank/repos","events_url":"https://api.github.com/users/jschank/events{/privacy}","received_events_url":"https://api.github.com/users/jschank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-29T23:06:57Z","updated_at":"2016-04-29T23:06:57Z","closed_at":null,"body":"I use vagrant to provision my wordpress virtual machine. And I loop over an array of plugin names to install by default.\r\n\r\nI install them like so: (yes these are commented out - because of the random plugins that appear)\r\n\r\n```\r\n# PLUGIN_LIST=(\r\n#   'akismet'\r\n#   'audit-trail'\r\n     'iwp-client'\r\n#   'limit-login-attempts'\r\n#   'root-relative-urls'\r\n#   'user-role-editor'\r\n#   'wordpress-seo'\r\n#   'wp-filemanager'\r\n# )\r\n\r\necho \"~~ entering $site_path for installation\"\r\ncd \"$site_path\" || exit 1\r\n\r\nfor plugin in \"${PLUGIN_LIST[@]}\"\r\ndo\r\n  echo \"~~~ Installing $plugin $force\"\r\n  wp plugin install \"$plugin\" --allow-root \"$force\"\r\ndone \r\n\r\n```\r\n\r\nWhen I run this script I get this output\r\n\r\n```\r\n=> capitol-connect-dev: ~ Installing default plugins\r\n==> capitol-connect-dev: !!! Disabled automatic plugin provisioning\r\n==> capitol-connect-dev: ~~ entering /var/www/html/apps/cc-qa for installation\r\n==> capitol-connect-dev: ~~~ Installing iwp-client\r\n==> capitol-connect-dev: Installing InfiniteWP Client (1.5.1.1)\r\n==> capitol-connect-dev: Downloading install package from https://downloads.wordpress.org/plugin/iwp-client.zip...\r\n==> capitol-connect-dev: Using cached file '/root/.wp-cli/cache/plugin/iwp-client-1.5.1.1.zip'...\r\n==> capitol-connect-dev: Unpacking the package...\r\n==> capitol-connect-dev: Installing the plugin...\r\n==> capitol-connect-dev: Plugin installed successfully.\r\n==> capitol-connect-dev: Installing Super Emoji Plus+ (0.1)\r\n==> capitol-connect-dev: Downloading install package from https://downloads.wordpress.org/plugin/super-emoji-plus.zip...\r\n==> capitol-connect-dev: Using cached file '/root/.wp-cli/cache/plugin/super-emoji-plus-0.1.zip'...\r\n==> capitol-connect-dev: Unpacking the package...\r\n==> capitol-connect-dev: Installing the plugin...\r\n==> capitol-connect-dev: Plugin installed successfully.\r\n\r\n```\r\n\r\n**I never asked for Super Emoji Plus+**\r\n\r\nWhen I allow all my default plugins I get an extra plugin on each install. The extra is random, But there are repetitions.\r\n\r\nThis is how I install wp-cli (in my provisioning steps)\r\n\r\n```\r\ncurl -s -S -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar\r\nchmod +x wp-cli.phar\r\nmv wp-cli.phar /usr/local/bin/wp\r\n\r\n```\r\n\r\nThe version of wp-cli, which I am getting is:\r\n```\r\n[vagrant@localhost ~]$ wp --version\r\nWP-CLI 0.23.0\r\n```\r\n\r\nThis version definitely exhibits this problem. As does this\r\n```\r\n[vagrant@localhost ~]$ wp --info\r\nPHP binary:\t/usr/bin/php\r\nPHP version:\t5.5.34\r\nphp.ini used:\t/etc/php.ini\r\nWP-CLI root dir:\tphar://wp-cli.phar\r\nWP-CLI packages dir:\t/home/vagrant/.wp-cli/packages/\r\nWP-CLI global config:\r\nWP-CLI project config:\r\nWP-CLI version:\t0.23.1\r\n```\r\n\r\nWhat is going on here? \r\nHow do we make this stop?\r\n"}}