Title: Version 0.14 released
Author: scribu
Published: February 6, 2014

---

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ February 6, 2014      

# Version 0.14 released

I’m pleased to present the first release of WP-CLIWP-CLI WP-CLI is the Command Line
Interface for WordPress, used to do administrative and development tasks in a programmatic
way. The project page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)
in 2014, coincidentally called 0.14.0. Let’s get right into it.

### Automatically detect WordPress in a subdirectory

Having [WordPress in a subdirectory](https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
is a great way keep your code repository clean.

Until now, you had to explicitly tell WP-CLI how to find it, either by using the`--
path=` parameter, or by creating a `wp-cli.yml` file in the root directory. With
version 0.14, it will find it automatically.

To make this not-common-enough scenario work, we had to once again call upon the
[dark powers of `eval()`](https://github.com/wp-cli/wp-cli/blob/v0.14.0/php/WP_CLI/Runner.php#L76-95).

### Protection against running as root

If you try to run a WP-CLI command as the superuser, WP-CLI will refuse to run. 
In production environemnts, most of the commands should actually be run under the
same user as the web server. But, in general, running commands as root is a bad 
idea.

For example, if you run `wp media regenerate` as `root`, then the newly created 
thumbnail files will naturally be owned by `root`. If the web server is running 
under the `www-data` user, it won’t be able to change these files (unless they’re
globally writable, which is less secure). So, the correct command would be `sudo-
u www-data wp media regenerate`.

If you trigger this protection, you will also receive instructions about how to 
disable it.

### `--skip-plugins` global flag

Ever used WP-CLI to install a pluginPlugin A plugin is a piece of software containing
a group of functions that can be added to a WordPress website. They can extend functionality
or add new features to your WordPress websites. WordPress plugins are written in
the PHP programming language and integrate seamlessly with WordPress. These can 
be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. that broke WP-CLI? Well, now there’s
a 100% sure way to deactivate it: `wp --skip-plugins plugin deactivate naughty-plugin`.

You can also skip only particular plugins: `wp --skip-plugins=admin-blocker,complex-
beast`.

###  Breaking changes

 * `wp term create`, `wp term update`, `wp term get` and `wp term delete` now accept
   the taxonomyTaxonomy A taxonomy is a way to group things together. In WordPress,
   some common taxonomies are category, link, tag, or post format. [https://codex.wordpress.org/Taxonomies#Default_Taxonomies](https://codex.wordpress.org/Taxonomies#Default_Taxonomies).
   as the first parameter, just like all the other term subcommands

###  Other changes

 * added `wp post url`, `wp comment url` and `wp site url` subcommands
 * added `wp theme enable` and `wp theme disable` subcommands for multisiteMultisite
   Multisite is a WordPress feature which allows users to create a network of sites
   on a single WordPress installation. Available since WordPress version 3.0, Multisite
   is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser
   project was discontinued and its features were included into WordPress core. 
   [Advanced Administration Handbook -> Create A Network.](https://developer.wordpress.org/advanced-administration/multisite/create-network/)
   installs
 * added `wp term generate` subcommand
 * added `--recurse-objects` flag to `wp search-replace`
 * added `--locale` flag to `wp core update`
 * `wp core download` now caches WordPress archives
 * all `wp user` subcommands now accept user emails as parameters (besides IDs and
   usernames)
 * `wp option` and `wp *-meta` subcommands can now read values from STDIN
 * `wp import` now accepts multiple files
 * `wp db export` now accepts all parameters that `mysqldump` accepts
 * `wp export` now uses a better backend developed by [Nikolay Bachiyski](https://github.com/nb/)(
   see [#525](https://github.com/wp-cli/wp-cli/pull/525))
 * plugin slugs passed to `wp plugin` subcommands are now always case-sensitive
 * fixed JetPack activation
 * fixed `wp core is-installed` for multisite
 * fixed `--max_depth` parameter for `wp post generate`
 * fixed `--role` parameter for `wp user generate`
 * fixed issue where `wp user import-csv` would pick up previous user IDs
 * fixed issue with progress bar calling `tput` too often
 * execution is now aborted if too many positional parameters are passed or if an
   unknown associative parameter is passed

You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=20&state=closed)
on GithubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/).

Contributors to this release: [bartaakos](https://github.com/bartaakos), [boonebgorges](https://github.com/boonebgorges),
[danielbachhuber](https://github.com/danielbachhuber), [eliorivero](https://github.com/eliorivero),
[francescolaffi](https://github.com/francescolaffi), [itsananderson](https://github.com/itsananderson),
[Japh](https://github.com/Japh), [jmslbam](https://github.com/jmslbam), [johnbillion](https://github.com/johnbillion),
[mboynes](https://github.com/mboynes), [mgburns](https://github.com/mgburns), [nb](https://github.com/nb),
[rodrigoprimo](https://github.com/rodrigoprimo), [scribu](https://github.com/scribu),
[sibprogrammer](https://github.com/sibprogrammer), [simonwheatley](https://github.com/simonwheatley),
[SpikesDivZero](https://github.com/SpikesDivZero), [westonruter](https://github.com/westonruter),
[ziz](https://github.com/ziz)

### Share this:

 * [  Threads ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=facebook)
 * [  X ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/cli/2014/02/06/version-0-14/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2014%2F02%2F06%2Fversion-0-14%2F%23respond&locale=en_US)

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/cli/2014/02/06/version-0-14/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2014%2F02%2F06%2Fversion-0-14%2F&locale=en_US)
to post a comment.

# Post navigation

[← Version 0.13 released](https://make.wordpress.org/cli/2013/11/30/version-0-13/)

[Version 0.15 released →](https://make.wordpress.org/cli/2014/04/15/version-0-15/)