Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
This comparison is big! We’re only showing the most recent 250 commits
Commits on Mar 07, 2016
@danielbachhuber danielbachhuber Merge pull request #2535 from wp-cli/quote-instead-escape-search-replace
Quote example in `wp search-replace` instead of escaping
b0cf173
@danielbachhuber danielbachhuber Merge pull request #2531 from markkimsal/markkimsal/multi_key_search_…
…replace_bug

Handle multi-column keys in search and replace
d397705
@danielbachhuber danielbachhuber Coding standards for #2531 959b8c6
@danielbachhuber danielbachhuber Merge pull request #2536 from wp-cli/1011-check-update-nightly
Support nightly builds with `wp cli check-update`
b055693
@danielbachhuber danielbachhuber Nag user when there's an update to WP-CLI available
Auto check update only happens when a user is driving WP-CLI, not a
script. `WP_CLI_AUTO_CHECK_UPDATE_DAYS` environment variable can be used
to change the number of days between checks (defaults to 1).
`WP_CLI_DISABLE_AUTO_CHECK_UPDATE` can be used to disable the update
check entirely.
dfd3cbc
@danielbachhuber danielbachhuber Bail early when the Phar isn't writable 9607542
Commits on Mar 08, 2016
@danielbachhuber danielbachhuber PHAR_BUILD_VERSION shouldn't ever be committed to this repo
[ci skip]
649ee18
@danielbachhuber danielbachhuber Remove `wp scaffold package-tests`
It's been broken in a while, and is now included in
https://github.com/wp-cli/scaffold-package-command
aef5217
@danielbachhuber danielbachhuber `wp package browse` should list all available versions 0a04bc5
@danielbachhuber danielbachhuber Merge pull request #2539 from wp-cli/rm-scaffold-package-tests
Remove `wp scaffold package-tests`
2503200
@danielbachhuber danielbachhuber Merge pull request #2540 from wp-cli/1564-all-versions
`wp package browse` should list all available versions
a7bee9e
@danielbachhuber danielbachhuber Clean up `wp package` PHPDoc; support `--format=ids` 4fe5c5a
@danielbachhuber danielbachhuber Move Contributing details to their own doc pages
[ci skip]
29cedaf
@danielbachhuber danielbachhuber Merge pull request #2543 from wp-cli/1564-package-cleanup
Clean up `wp package` PHPDoc; support `--format=ids`
5492c06
@jacobischwartz jacobischwartz Initial idea for carrying list of imported posts through to subsequen…
…t import files in a batch.
460acda
@danielbachhuber danielbachhuber Failing test case for #2493 b87bd91
@danielbachhuber danielbachhuber Use 'wp-cli/wp-cli' for the Composer project name in our package dir
Apparently this causes Composer to skip 'wp-cli/wp-cli' as a dependency,
which is exactly what we want.
b86a90a
Commits on Mar 09, 2016
@danielbachhuber danielbachhuber Merge pull request #2546 from wp-cli/2493-wp-cli-dependency
Use 'wp-cli/wp-cli' for the Composer project name in our package dir
5e822d8
@danielbachhuber danielbachhuber Use `wp package path` to get the path of an installed package
If you want to contribute to one, this is an easy way to dive in.
a279f66
@danielbachhuber danielbachhuber Newline is better formatting
[ci skip]
0bcd2fe
@danielbachhuber danielbachhuber Merge pull request #2547 from wp-cli/1564-package-path
Use `wp package path` to get the path of an installed package
c0939cf
@danielbachhuber danielbachhuber Merge pull request #2538 from wp-cli/1011-update-notif
Nag user when there's an update to WP-CLI available
1e813ee
@sourcerer-mike sourcerer-mike Bugfix: Vendor-dir is defined in the config-section
The composer-vendor-dir can be defined in the config section of the composer.json.
Unfortunately the utils.php looks up the vendor dir at another place.
This commit fixes the flaw in ::get_vendor_paths().
b9a9e01
@danielbachhuber danielbachhuber Merge pull request #2550 from sourcerer-mike/vendor-dir-bug
Bugfix: Vendor-dir is defined in the config-section
1116515
Commits on Mar 10, 2016
@danielbachhuber danielbachhuber Add WP REST API registration args to `scaffold (post-type|taxonomy)`
These are pretty well-established now.
85e0813
Commits on Mar 11, 2016
@danielbachhuber danielbachhuber Merge pull request #2551 from wp-cli/2158-scaffold-show-in-rest
Add WP REST API registration args to `scaffold (post-type|taxonomy)`
c456f4c
@danielbachhuber danielbachhuber Permit composer/semver >= 1.0 for greater flexibility 2002b53
@danielbachhuber danielbachhuber Update Composer dependencies across the board e5ff5d5
@danielbachhuber danielbachhuber Failing test case for a bad command causing `wp package` failure 04a6224
@danielbachhuber danielbachhuber Run `wp package` commands before any packages are loaded
If a user installs a bad package, we want them to be able to back out of
it.
2b2a070
@danielbachhuber danielbachhuber Merge pull request #2554 from wp-cli/2553-update-dependencies
Update Composer dependencies for v0.23.0
6d932fe
@danielbachhuber danielbachhuber Merge pull request #2555 from wp-cli/2548-run-package-commands-early
Run `wp package` commands before any packages are loaded
38f9545
@danielbachhuber danielbachhuber Support registering `default` and `options` for positional/assoc args
`default` fills the value when it isn't set. `options` validates the
filled value against an enum of values.

YAML for the win:
```
--volume=<number>
: Sets the volume.
---
default: 10
---
```
05ff88b
@danielbachhuber danielbachhuber Validate options for repeating positional args d34940b
@danielbachhuber danielbachhuber Add tests for `options` and `default` on dynamic registration
Also, `default` makes sense to include before `options`
ab67e72
@danielbachhuber danielbachhuber Accommodate `$args` that isn't zero-indexed 074c26b
@danielbachhuber danielbachhuber Revert "Accommodate `$args` that isn't zero-indexed"
This reverts commit 074c26b.
4a84de4
@danielbachhuber danielbachhuber Update return signature, so we don't noop args for commands without
synopsis
9a43ec3
@danielbachhuber danielbachhuber Merge pull request #2556 from wp-cli/1293-default-value
Support registering `default` and `options` for positional/assoc args
ddbe997
Commits on Mar 13, 2016
@danielbachhuber danielbachhuber Only register `description` for a command when present
Doing so prevents wonky formatting when `description` isn't set.
24e64a6
@danielbachhuber danielbachhuber Clean up `scaffold plugin-tests` docs; link to documentation page d80e84a
@danielbachhuber danielbachhuber Merge pull request #2559 from wp-cli/conditionally-register-command-d…
…escription

Only register `description` for a command when present
1840f9a
@danielbachhuber danielbachhuber Use `--skip-packages` to skip loading installed packages
A similar idea to `--skip-plugins`, if a package has gone awry, permit
normal usage of WP-CLI.
1de8121
@danielbachhuber danielbachhuber Merge pull request #2560 from wp-cli/scaffold-plugin-tests-docs
Clean up `scaffold plugin-tests` docs; link to documentation page
76fe3d6
@danielbachhuber danielbachhuber Merge pull request #2561 from wp-cli/1564-skip-packages
Use `--skip-packages` to skip loading installed packages
0d909bd
Commits on Mar 18, 2016
@danielbachhuber danielbachhuber Properly add `wp plugin search` fields to plugins_api() request
They need to be supplied in the first place, and passed in a
non-standard format.
1fb032a
hinoue-work Added support for page parameter. 860cdfc
@danielbachhuber danielbachhuber Merge pull request #2571 from hinoue-work/2568-plugin-search-fields
Added support for page parameter.
fa7f87f
@danielbachhuber danielbachhuber Add `parent` as a potential status in `wp theme status`
Fixes error notices when we're rendering the special case `parent`
status.
6564903
@danielbachhuber danielbachhuber Merge pull request #2570 from wp-cli/2568-plugin-search-fields
Properly add `wp plugin search` fields to plugins_api() request
a45b4e4
@danielbachhuber danielbachhuber Lock php-cli-tools to v0.11.1 4a3f43d
@danielbachhuber danielbachhuber Merge pull request #2573 from wp-cli/2034-parent-theme-status
Add `parent` as a potential status in `wp theme status`
8686067
Commits on Mar 19, 2016
@jacobischwartz jacobischwartz Merge branch 'master' into import-fix-missing-menu-items 87e3b2f
@jacobischwartz jacobischwartz Behat test for importer fix. Also, refinement to bug fix. cf5f755
@jacobischwartz jacobischwartz Minor refinements to import automated testing.
Minor formatting fixes & more explicit verification.
93229c0
Commits on Mar 20, 2016
@danielbachhuber danielbachhuber Merge pull request #2574 from wp-cli/2457-lock-php-cli-tools
Lock php-cli-tools to v0.11.1
c8f524f
@jacobischwartz jacobischwartz Add import scenario to demonstrate existing failures.
WP 3.7.11 and PHP 7 both cause menu imports to fail.
Also, switch from sed to "contain" syntax.
7f4db5f
@jacobischwartz jacobischwartz Excempt new scenarios from PHP7 & WP below v4. fdddd17
Commits on Mar 21, 2016
@danielbachhuber danielbachhuber Merge pull request #2545 from jacobischwartz/import-fix-missing-menu-…
…items

Persist ids for imported posts when importing multiple WXR files
b8f6207
@GaryJones GaryJones Add documentation to bootstrap template
File and functions should be documented.
8353013
@GaryJones GaryJones Add documentation to test-sample.php f7e3fef
@danielbachhuber danielbachhuber Merge pull request #2577 from GaryJones/patch-1
Add documentation to bootstrap template
e22acf7
@danielbachhuber danielbachhuber Merge pull request #2578 from GaryJones/patch-2
Add documentation to test-sample.php
b8c023a
Commits on Mar 22, 2016
@danielbachhuber danielbachhuber Update `.mailmap` for 0.23.0 cbb6298
@danielbachhuber danielbachhuber Version bump 31b9c00
Commits on Mar 23, 2016
@danielbachhuber danielbachhuber Version bump 9cbbc6e
@geo4orce geo4orce remove redundant period 44ebeb2
@danielbachhuber danielbachhuber Merge pull request #2580 from geo4orce/master
remove redundant period
a81dd44
@danielbachhuber danielbachhuber Clarify the `wp_blogs` table also needs to be replaced on MS 4d9ed26
@danielbachhuber danielbachhuber Use next significant release operators for Composer dependencies
```
local ➜  wp-cli git:(master) composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing symfony/filesystem (v2.7.10)
  - Installing symfony/filesystem (v2.8.3)
    Downloading: 100%

  - Removing symfony/finder (v2.7.10)
  - Installing symfony/finder (v2.8.3)
    Downloading: 100%

  - Installing symfony/polyfill-mbstring (v1.1.1)
    Downloading: 100%

  - Removing symfony/console (v2.7.10)
  - Installing symfony/console (v2.8.3)
    Downloading: 100%

  - Removing composer/composer (1.0.0-alpha11)
  - Installing composer/composer (1.0.0-beta1)
    Downloading: 100%

  - Removing symfony/yaml (v2.7.10)
  - Installing symfony/yaml (v2.8.3)
    Downloading: 100%

  - Removing symfony/config (v2.7.10)
  - Installing symfony/config (v2.8.3)
    Downloading: 100%

  - Removing symfony/dependency-injection (v2.7.10)
  - Installing symfony/dependency-injection (v2.8.3)
    Downloading: 100%

  - Removing symfony/event-dispatcher (v2.7.10)
  - Installing symfony/event-dispatcher (v2.8.3)
    Downloading: 100%

  - Removing symfony/translation (v2.7.10)
  - Installing symfony/translation (v2.8.3)
    Downloading: 100%

Writing lock file
Generating autoload files
```
8eb9044
@danielbachhuber danielbachhuber Merge pull request #2581 from wp-cli/2575-clarify-ms
Clarify the `wp_blogs` table also needs to be replaced on MS
e9235d2
Commits on Mar 24, 2016
@danielbachhuber danielbachhuber Catch exceptions in a couple more places 9d70d2f
@danielbachhuber danielbachhuber Permit downloading Composer packages over http
The Package Index is served over http, which we should probably change.
For the time being, we need to unfatal the fatal.
8b1eff8
@danielbachhuber danielbachhuber Use the proper method signature to prevent another fatal aee7928
@danielbachhuber danielbachhuber Define variable, for when `$install->run()` doesn't return a value f79ba98
@danielbachhuber danielbachhuber Also set `secure-http=>false` for the packages composer.json a7d9f9a
@danielbachhuber danielbachhuber Mark `WP_CLI::run_command()` public; clarify `::launch_self()` d265824
@danielbachhuber danielbachhuber Merge pull request #2583 from wp-cli/2582-next-significant-release
Use next significant release operators for Composer dependencies
6ed5afc
@danielbachhuber danielbachhuber Failing test case for arg/param arg parsing 54be268
@danielbachhuber danielbachhuber Merge pull request #2586 from wp-cli/mark-run-command-public
Mark `WP_CLI::run_command()` public; clarify `::launch_self()`
f0f856c
Commits on Mar 25, 2016
@wesm87 wesm87 Fix plugin header formatting
Currently the `@package` tag and the plugin name header are both
formatted as `Plugin-name`. Logically, you'd expect the plugin name
header to be formatted as `Plugin Name`, and according to the WordPress
documentation standards the `@package` tag should be capitalized and
separated by underscores (e.g. `Plugin_Name`).

This commit fixes those issues.
a7d86a3
Commits on Mar 26, 2016
@wesm87 wesm87 Merge pull request #1 from wp-cli/master
Merge new commits from main repo
b709830
@wesm87 wesm87 Merge branch 'master' into develop 19f80fc
@wesm87 wesm87 Fix plugin header formatting
Currently the `@package` tag and the plugin name header are both
formatted as `Plugin-name`. Logically, you'd expect the plugin name
header to be formatted as `Plugin Name`, and according to the WordPress
documentation standards the `@package` tag should be capitalized and
separated by underscores (e.g. `Plugin_Name`).

This commit fixes those issues.
345d804
@wesm87 wesm87 Merge branch 'feature/fix-plugin-header-formatting' of https://github…
….com/wesm87/wp-cli into feature/fix-plugin-header-formatting
d6a3975
@wesm87 wesm87 Fix headers for other plugin files
Updated the `@package` tags in `templates/bootstrap.mustache` and
`templates/test-sample.php`
708bf69
Commits on Mar 27, 2016
@wesm87 wesm87 Update functional tests for new plugin header values 27993ff
@wesm87 wesm87 Fix missing `@package` in plugin test files
Also fixed a couple of typos in `scaffold.feature`
bcb114c
@danielbachhuber danielbachhuber Use `is_callable()` in `WP_CLI:add_command()`
This is much better than rolling our own equivalent logic
314cceb
@danielbachhuber danielbachhuber Merge pull request #2595 from wp-cli/consolidate-callable-logic
Use `is_callable()` in `WP_CLI:add_command()`
ea51314
Commits on Mar 28, 2016
@danielbachhuber danielbachhuber Merge pull request #2588 from wesm87/feature/fix-plugin-header-format…
…ting

Fix Plugin Header Formatting
c8ff93d
@danielbachhuber danielbachhuber Rename test-sample.php to test-sample.mustache
It's now a template
90950a1
@danielbachhuber danielbachhuber Fix assertions 867b033
@danielbachhuber danielbachhuber Merge pull request #2598 from wp-cli/2588-rename-file
Rename test-sample.php to test-sample.mustache
0a04c78
Commits on Mar 29, 2016
@JRGould JRGould allow newlines in $prompt 15693aa
@JRGould JRGould add newline to REPL prompt f82f244
@danielbachhuber danielbachhuber Merge pull request #2601 from JRGould/shell-newline-prompt
Add newline to wp shell's prompt
d252bda
Commits on Mar 30, 2016
@JRGould JRGould force set default timezone e89d03a
@danielbachhuber danielbachhuber Merge pull request #2607 from JRGould/suppress-package-install-dateti…
…me-error

Fix DateTime fatal when getting composer
fbffe65
Commits on Mar 31, 2016
@danielbachhuber danielbachhuber Explain what `wp cron test` actually does f242229
Commits on Apr 01, 2016
@danielbachhuber danielbachhuber Merge pull request #2618 from wp-cli/cron-test-docs
Explain what `wp cron test` actually does
3cea406
@markjaquith markjaquith Squash `wp export` notice about `skip_comments`
2ad7b8e introduced a PHP notice because `$this->filters['skip_comments']` is checked, but it won't exist if the flag isn't set.
02b5b8c
@danielbachhuber danielbachhuber Use `--format=ids` with `wp (*) generate` output generated ids
More helpful than a progress bar for chaining commands together:

```
wp user generate --format=ids | xargs -0 -d ' ' -I % wp user meta add %
foo bar
```
4c6b3a7
@danielbachhuber danielbachhuber Move tests to more sensible files 6597a6d
@danielbachhuber danielbachhuber Merge pull request #2620 from markjaquith/patch-1
Squash `wp export` notice about `skip_comments`
0f88f37
@danielbachhuber danielbachhuber Link to the documentation portal from the readme c6d9601
@danielbachhuber danielbachhuber Merge pull request #2622 from wp-cli/2224-generate-format-ids
Use `--format=ids` with `wp (*) generate` output generated ids
8b4139c
@danielbachhuber danielbachhuber Expand upon `wp db *` docs; explicitly mark methods as public a57b13c
@danielbachhuber danielbachhuber Merge pull request #2623 from wp-cli/2542-documentation-portal
Link to the documentation portal from the readme
33184b8
@danielbachhuber danielbachhuber Merge pull request #2624 from wp-cli/2606-improve-db-command
Expand upon `wp db *` docs; explicitly mark methods as public
77ef265
pete@petenelson.com adds the 'term recount' CLI command to update the term count for taxo…
…nomies
3d52904
pete@petenelson.com updated success and warning messages 0e6e839
pete@petenelson.com changed taxonomy warning to not be a contraction 89e8ca1
pete@petenelson.com added feature test for term recount with an invalid taxonomy 6ec2127
pete@petenelson.com added feature test for term recount with valid taxonomies ff752af
Commits on Apr 04, 2016
@petenelson petenelson added missing OPTIONS in term recount docblock fa3947c
@petenelson petenelson added a more detailed description of the term recount command 9c236bd
@petenelson petenelson added missing OPTIONS to comment recount docblock 54d8e0e
@petenelson petenelson update Feature description for term recount test e19af4a
@petenelson petenelson added term recount test that forces an invalid term count and fixes i…
…t via the WP-CLI command
a533f8b
Commits on Apr 06, 2016
@danielbachhuber danielbachhuber Merge pull request #2625 from petenelson/feature/term-recount
Add `term recount` command
369815a
@danielbachhuber danielbachhuber Clean up docs for `wp term recount` 7423615
@danielbachhuber danielbachhuber Introduce `CompositeCommand->remove_subcommand()`
This permits a subcommand to be de-registered from its parent.

Also modifies the bootstrap process to always register commands, instead
of lazyloading them based on command name. Packages and required
commands are always loaded, so we should follow similar behavior with
core commands.
9b0f8ed
@danielbachhuber danielbachhuber Mark `WP_CLI::colorize()` as a public API 4c4efa9
@danielbachhuber danielbachhuber Merge pull request #2628 from wp-cli/2625-cleanup
Clean up docs for `wp term recount`
40080d2
@danielbachhuber danielbachhuber Merge pull request #2630 from wp-cli/wp-cli-colorize-docs
Mark `WP_CLI::colorize()` as a public API
c7f55a5
@danielbachhuber danielbachhuber Merge pull request #2629 from wp-cli/remove-subcommand
Introduce `CompositeCommand->remove_subcommand()`
82b546d
@danielbachhuber danielbachhuber Merge branch 'master' into fix-arg-args-parsing f026bcd
@danielbachhuber danielbachhuber Expected before actual b766cb8
@danielbachhuber danielbachhuber Don't use regex to find the YAML doc 649b23f
@danielbachhuber danielbachhuber Ensure vendor libraries are available
When Behat has been globally installed, our project autoload isn't
always called.
4648af6
@danielbachhuber danielbachhuber Merge pull request #2587 from wp-cli/fix-arg-args-parsing
Fix greedy parsing of arg/param args
7e503c9
@danielbachhuber danielbachhuber Merge pull request #2631 from wp-cli/yaml-library-behat
Ensure vendor libraries are available
17dcbff
Commits on Apr 08, 2016
@gilbitron gilbitron Warn with verify-checksums when extra files exist in wp-admin or wp-i…
…ncludes
e2a9772
@gilbitron gilbitron Update tests cf13f4f
@gilbitron gilbitron Merge branch 'master' into verify-checksums-extra-files 362d114
@danielbachhuber danielbachhuber Update versions specified in `packages.json` 46b6650
@gilbitron gilbitron Only check in wp-admin and wp-includes 7636f3c
@gilbitron gilbitron Update tests 4dea7e0
@danielbachhuber danielbachhuber Update Composer dependencies to their latest
```
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing symfony/yaml (v2.8.3)
  - Installing symfony/yaml (v2.8.4)
    Downloading: 100%

  - Removing symfony/filesystem (v2.8.3)
  - Installing symfony/filesystem (v2.8.4)
    Downloading: 100%

  - Removing symfony/config (v2.8.3)
  - Installing symfony/config (v2.8.4)
    Downloading: 100%

  - Removing symfony/dependency-injection (v2.8.3)
  - Installing symfony/dependency-injection (v2.8.4)
    Downloading: 100%

  - Removing symfony/event-dispatcher (v2.8.3)
  - Installing symfony/event-dispatcher (v2.8.4)
    Downloading: 100%

  - Removing symfony/translation (v2.8.3)
  - Installing symfony/translation (v2.8.4)
    Downloading: 100%

  - Removing symfony/process (v2.8.3)
  - Installing symfony/process (v2.8.4)
    Downloading: 100%

  - Removing symfony/finder (v2.8.3)
  - Installing symfony/finder (v2.8.4)
    Downloading: 100%

  - Removing symfony/console (v2.8.3)
  - Installing symfony/console (v2.8.4)
    Downloading: 100%

  - Removing composer/semver (1.3.0)
  - Installing composer/semver (1.4.0)
    Downloading: 100%

  - Removing composer/spdx-licenses (1.1.2)
  - Installing composer/spdx-licenses (1.1.3)
    Downloading: 100%

  - Removing composer/composer (1.0.0-beta1)
  - Installing composer/composer (1.0.0)
    Downloading: 100%

Writing lock file
Generating autoload files
```
7fa9e76
@gilbitron gilbitron Update test c94e822
@gilbitron gilbitron Fix test 5bdd9f3
@danielbachhuber danielbachhuber Merge pull request #2638 from gilbitron/verify-checksums-extra-files
Warn with verify-checksums when extra files exist in wp-admin or wp-includes
af24151
@danielbachhuber danielbachhuber Merge pull request #2640 from wp-cli/update-composer-dependencies-48
Update Composer dependencies to their latest
cf61815
@danielbachhuber danielbachhuber Merge pull request #2639 from wp-cli/plugin-scaffold-packages-versions
Update versions specified in `packages.json`
0ed2b95
Commits on Apr 10, 2016
@wesm87 wesm87 Update `plugin.mustache` and `plugin-packages.mustache`
Currently if you scaffold a child theme and a plugin, the plugin headers
are formatted differently than the child theme headers. The plugin also
uses a different version number `0.1-alpha`), which is itself different
than the version used in the plugin's `package.json` (`0.0.0`). This
commit normalizes the header formatting and updates the version numbers.
2bec119
@wesm87 wesm87 Update functional tests 6ccf35d
Commits on Apr 11, 2016
@danielbachhuber danielbachhuber Merge pull request #2644 from wesm87/feature/normalize-versions-and-h…
…eaders

Normalize plugin / theme version numbers and header formatting
efff0f1
@danielbachhuber danielbachhuber Failing test case for #2608 ddcb816
@danielbachhuber danielbachhuber Consider image sizes missing when `sizes` doesn't have registered sizes
Also considers image needing regeneration if `sizes` is empty (which
means its missing all sizes).
d51edfd
@danielbachhuber danielbachhuber Run `before_invoke` and `after_invoke` callbacks on subcommands
This appears to be an oversight from
6ae1915 that no one has noticed since.

Keep calling the parent too, for backwards compat purposes.
a129489
@danielbachhuber danielbachhuber Merge pull request #2645 from wp-cli/2608-regenerate-registered-sizes
Consider image sizes missing when `sizes` doesn't have registered sizes
10f035d
@danielbachhuber danielbachhuber Use `--debug=<group>` to limit debug output to a particular group
```
salty-wordpress ➜  wordpress-develop.dev  wp option get home --debug
Debug (bootstrap): Using default global config:
/home/vagrant/.wp-cli/config.yml (0.051s)
Debug (bootstrap): Using project config:
/srv/www/wordpress-develop.dev/wp-cli.yml (0.054s)
Debug (bootstrap): Loading packages from:
/home/vagrant/.wp-cli/packages/vendor/autoload.php (0.287s)
Debug (bootstrap): Required file from config:
/srv/www/wp-hook-command/command.php (0.428s)
Debug (bootstrap): ABSPATH defined: /srv/www/wordpress-develop.dev/src/
(0.428s)
Debug (bootstrap): Begin WordPress load (0.433s)
Debug (bootstrap): wp-config.php path:
/srv/www/wordpress-develop.dev/wp-config.php (0.436s)
Debug (bootstrap): Loaded WordPress (1.307s)
Debug: No schema title found for /, skipping REST command registration.
(1.487s)
Debug: No schema title found for /wp/v2, skipping REST command
registration. (1.487s)
Debug: No schema title found for /wp/v2/users/me, skipping REST command
registration. (1.507s)
Debug: No schema title found for /oembed/1.0, skipping REST command
registration. (1.51s)
Debug: No schema title found for /oembed/1.0/embed, skipping REST
command registration. (1.51s)
Debug: No schema title found for /wpx/v1, skipping REST command
registration. (1.51s)
Debug: No schema title found for /wpx/v1/page-templates, skipping REST
command registration. (1.51s)
Debug (bootstrap): Running command: option get (1.511s)
http://wordpress-develop.dev
salty-wordpress ➜  wordpress-develop.dev  wp option get home
--debug=bootstrap
Debug: Using default global config: /home/vagrant/.wp-cli/config.yml
(0.05s)
Debug: Using project config: /srv/www/wordpress-develop.dev/wp-cli.yml
(0.053s)
Debug: Loading packages from:
/home/vagrant/.wp-cli/packages/vendor/autoload.php (0.209s)
Debug: Required file from config: /srv/www/wp-hook-command/command.php
(0.298s)
Debug: ABSPATH defined: /srv/www/wordpress-develop.dev/src/ (0.299s)
Debug: Begin WordPress load (0.303s)
Debug: wp-config.php path: /srv/www/wordpress-develop.dev/wp-config.php
(0.306s)
Debug: Loaded WordPress (1.105s)
Debug: Running command: option get (1.304s)
http://wordpress-develop.dev
```
0e96864
@danielbachhuber danielbachhuber Merge pull request #2647 from wp-cli/call-before-after-invoke-subcomm…
…ands

Run `before_invoke` and `after_invoke` callbacks on subcommands
6677ae9
@danielbachhuber danielbachhuber Fix test to expect new string c658f69
@danielbachhuber danielbachhuber Merge pull request #2648 from wp-cli/2611-debug-groups
Use `--debug=<group>` to limit debug output to a particular group
9e8a08a
Commits on Apr 12, 2016
@danielbachhuber danielbachhuber Mention that custom database tables won't be emptied
Doing so requires a bit of custom code.
6e9cd29
@danielbachhuber danielbachhuber Merge pull request #2650 from wp-cli/site-empty-custom-tables
Mention that custom database tables won't be emptied
0f8f2d2
@danielbachhuber danielbachhuber Lock to a specific version, so it doesn't break on new release 6c76fde
@danielbachhuber danielbachhuber Update tests for WordPress 4.5 7b5c24e
@danielbachhuber danielbachhuber Merge pull request #2651 from wp-cli/update-tests-wp-4-6
Update tests for WordPress 4.5
100d21d
Commits on Apr 13, 2016
@danielbachhuber danielbachhuber Use backticks when mentioning hooks
This prevents the comment from being rendered as HTML on the website.
fdbee85
@danielbachhuber danielbachhuber Merge pull request #2655 from wp-cli/add-hook-backticks
Use backticks when mentioning hooks
dda0f33
@danielbachhuber danielbachhuber Make `launch_editor_for_input()` usable without WordPress available
Internalize the core logic of generating a random temp file.
639e52c
@danielbachhuber danielbachhuber Mark `launch_editor_for_input()` a public internal API 4c8aff4
@danielbachhuber danielbachhuber Merge pull request #2656 from wp-cli/launch-editor-for-input
Mark `launch_editor_for_input()` a public internal API
d2836b9
@danielbachhuber danielbachhuber Permit `wp cron (event|schedule) list` to output a single field 03e8749
Commits on Apr 14, 2016
@danielbachhuber danielbachhuber Use `--due-now` to run all cron events due or overdue 5e94445
@danielbachhuber danielbachhuber Remove the convoluted logic so it's more clear what's going on f57a13f
@JRGould JRGould don't include newline in prompt 1e439ad
@JRGould JRGould always include a newline after non-null eval output 6d84612
@JRGould JRGould denote return vs output of expressions 0f5dcf8
@danielbachhuber danielbachhuber Merge pull request #2658 from wp-cli/cron-event-run-due-now
Use `--due-now` to run all cron events due or overdue
a41d729
@danielbachhuber danielbachhuber Merge pull request #2659 from JRGould/shell-newline-prompt-mulligan
Refactor adding newline to shell prompt
1a9f9de
@danielbachhuber danielbachhuber Include more details about package management f2454ba
@danielbachhuber danielbachhuber Merge pull request #2657 from wp-cli/cron-list-field
Permit `wp cron (event|schedule) list` to output a single field
b55e36d
@danielbachhuber danielbachhuber Merge pull request #2660 from wp-cli/doc-wp-package
Include more details about package management
f6a0d2d
Commits on Apr 18, 2016
@danielbachhuber danielbachhuber Bump composer.json to use Composer 1.0.0
```
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing seld/cli-prompt (1.0.1)
  - Installing seld/cli-prompt (1.0.2)
    Downloading: 100%

Writing lock file
Generating autoload files
```
107dbfd
@gedex gedex Added field filtering in cron event list command.
Resolves #2666.
1b0061b
@danielbachhuber danielbachhuber Merge pull request #2665 from wp-cli/composer-1-0-0
Bump composer.json to use Composer 1.0.0
4fe12f3
Commits on Apr 20, 2016
@danielbachhuber danielbachhuber Catch `WP_Error` from `translations_api()` 865a552
@danielbachhuber danielbachhuber Increase minimum supported version to PHP 5.3.29
While WP-CLI may work with earlier versions, this is the minimum version
we can support because 5.3.29 is the version available in Travis.
3260094
@danielbachhuber danielbachhuber Update to Composer v1.0.1 c0d47fd
@danielbachhuber danielbachhuber Add a functional test for `wp cron event list --<field>=<value>` b2b019c
@danielbachhuber danielbachhuber Merge pull request #2671 from wp-cli/2670-wp-error
Catch `WP_Error` from `translations_api()`
003c728
@danielbachhuber danielbachhuber Merge pull request #2672 from wp-cli/2669-min-version
Increase minimum supported version to PHP 5.3.29
c2c42d5
@danielbachhuber danielbachhuber Merge pull request #2674 from wp-cli#2666/filter-cront-event-list
Add field filtering in cron event list command
f82f34e
@danielbachhuber danielbachhuber Merge pull request #2673 from wp-cli/update-composer-1-0-1
Update to Composer v1.0.1
f88b3e2
@danielbachhuber danielbachhuber Failing test case for #1981 2430bce
@danielbachhuber danielbachhuber Persist global WP-CLI config when using WP_CLI::launch_self()
Use of this method has a reasonable expectation that the launched
process will mirror the existing process as closely as possible.
Including the global WP-CLI config is necessary for mirroring the
existing process.
2c30994
@danielbachhuber danielbachhuber Merge pull request #2676 from wp-cli/1981-launch-self-config
Persist global WP-CLI config when using WP_CLI::launch_self()
c783093
Commits on Apr 26, 2016
@danielbachhuber danielbachhuber Failing test case for calling `before_invoke` on top-level command 255094c
@danielbachhuber danielbachhuber Ensure `before_invoke` and `after_invoke` are called on top-level
commands too
2aa6b18
@danielbachhuber danielbachhuber Merge pull request #2686 from wp-cli/2647-before-invoke-top-level
Ensure `before_invoke` and `after_invoke` are called on top-level commands too
45f4623
@danielbachhuber danielbachhuber Update tests for WordPress 4.5.1 fcdc1e5
@danielbachhuber danielbachhuber Only attempt to use `add_user_to_blog()` on multisite
The function isn't available on a normal WordPress.
cc1befe
@danielbachhuber danielbachhuber Define `DOING_CRON` before WordPress is loaded
Some plugins make use of this constant to conditionally load code, which
is a valid use case we should do our best to accommodate.
ea9b83a
@danielbachhuber danielbachhuber Don't erroneously try to (de)activate plugins with `--all` flag
When the `--all` flag is provided, we should only try to activate
plugins that aren't active, and deactivate plugins that are active.
6dbca8a
Commits on Apr 27, 2016
@danielbachhuber danielbachhuber Merge pull request #2689 from wp-cli/bump-wp-4-5-1
Update tests for WordPress 4.5.1
ad76c94
@danielbachhuber danielbachhuber Merge branch 'master' into 2652-no-warnings 485bde5
@danielbachhuber danielbachhuber Merge branch 'master' into 2679-doing-cron-early af23bac
@danielbachhuber danielbachhuber Merge branch 'master' into 2680-only-multisite 88426bc
@danielbachhuber danielbachhuber Merge pull request #2692 from wp-cli/2652-no-warnings
Don't erroneously try to (de)activate plugins with `--all` flag
7ddae50
@danielbachhuber danielbachhuber Merge pull request #2691 from wp-cli/2679-doing-cron-early
Define `DOING_CRON` before WordPress is loaded
ca6fab3
Commits on Apr 28, 2016
@danielbachhuber danielbachhuber Merge pull request #2690 from wp-cli/2680-only-multisite
Only attempt to use `add_user_to_blog()` on multisite
2c5c59f
@danielbachhuber danielbachhuber Use a better next significant release operator; update to Composer 1.0.2 ebed88a
@danielbachhuber danielbachhuber Include a `.svnignore` when scaffolding a new plugin
For authors intending to distribute to WordPress.org, this is a helpful
starter template of exclusions.
4f3a365
@danielbachhuber danielbachhuber A few more files we don't want to include by default 7835f73
@danielbachhuber danielbachhuber Genuinely run test suite against built Phar file
Apparently this hasn't been happening for a while
e556101
@danielbachhuber danielbachhuber Better way of verifying the `wp` binary 2a24ea9
@danielbachhuber danielbachhuber Restore global `WP_CLI_BIN_DIR` env variable
We can't set env variables in scripts. Unfortunately, this means the
test suite hasn't been running against the Phar build for a while
9d98f5c
@danielbachhuber danielbachhuber Make it much easier to determine which `wp` binary we're running against 4c7b3c7
@danielbachhuber danielbachhuber Include more dependencies the Phar build is expected to have 312c3c8
@danielbachhuber danielbachhuber Merge pull request #2698 from wp-cli/phar-test
Genuinely run test suite against built Phar file; including missing dependencies
ec9204a
Commits on Apr 29, 2016
@danielbachhuber danielbachhuber Include pem file that is occasionally needed by Composer 8e4b553
@danielbachhuber danielbachhuber Merge pull request #2699 from wp-cli/add-missing-cert
Include pem file that is occasionally needed by Composer
8376f6a
@danielbachhuber danielbachhuber Merge pull request #2695 from wp-cli/2664-composer-1-0-0-2
Use a better next significant release operator; update to Composer 1.0.2
5c2a6c2
@danielbachhuber danielbachhuber Merge pull request #2697 from wp-cli/scaffold-plugin-svnignore
Include a `.svnignore` when scaffolding a new plugin
407048b
@danielbachhuber danielbachhuber Fix listing user meta associated with a given username
All methods on this class need to replace a provided username / email
address with the user id, which this method wasn't doing.
1de6e47
@danielbachhuber danielbachhuber If comment was already trashed, then it will be deleted bdeae36
@danielbachhuber danielbachhuber Clearly denote OPTIONS in `wp cache *` docs 8087e2c
@danielbachhuber danielbachhuber Clearly denote OPTIONS in `wp cap *` docs 700d125
@danielbachhuber danielbachhuber Clarify that `wp core verify-checksums` doesn't actually load WP
This behavior changed in the last release
3ce2327
@danielbachhuber danielbachhuber Clearly denote OPTIONS in `wp eval` docs 8002611
@danielbachhuber danielbachhuber Clearly denote OPTIONS in `wp menu *` docs a18bf85
@danielbachhuber danielbachhuber Merge pull request #2700 from wp-cli/fix-user-meta-list-username
Fix listing user meta associated with a given username
26a92f9
@danielbachhuber danielbachhuber Merge pull request #2701 from wp-cli/improve-delete-comment
Differentiate output when moving comments to trash from output when deleting comments
ef4e51f
@danielbachhuber danielbachhuber Merge pull request #2704 from wp-cli/clarify-verify-checksums-wp
Clarify that `wp core verify-checksums` doesn't actually load WP
6e06d8a
@danielbachhuber danielbachhuber Merge pull request #2702 from wp-cli/cache-options-docs
Clearly denote OPTIONS in `wp cache *` docs
36703bd
@danielbachhuber danielbachhuber Merge pull request #2703 from wp-cli/cap-options-docs
Clearly denote OPTIONS in `wp cap *` docs
692f37c
@danielbachhuber danielbachhuber Merge pull request #2705 from wp-cli/eval-options-docs
Clearly denote OPTIONS in `wp eval` docs
da8ee7f
@danielbachhuber danielbachhuber Merge pull request #2706 from wp-cli/menu-options-docs
Clearly denote OPTIONS in `wp menu *` docs
5713d1e
@danielbachhuber danielbachhuber Document how to handle WP in subdirectory; add test to doc behavior b51b05f
@danielbachhuber danielbachhuber Merge pull request #2707 from wp-cli/858-siteurl-doc
Document how to handle WP in subdirectory; add test to doc behavior
18e12f4
Commits on May 02, 2016
@danielbachhuber danielbachhuber Document how to import an attachment and assign multiple thumbnails c863051
@danielbachhuber danielbachhuber Merge pull request #2713 from wp-cli/media-import-assign-multi
Document how to import an attachment and assign multiple thumbnails
3de6ec9
Commits on May 03, 2016
@ernilambar ernilambar issue of taking only first digit from Comment ID d601bf0
@ernilambar ernilambar add test for comment issue 656482e
@danielbachhuber danielbachhuber Ignore ambigious empty plugin and theme slugs when installing
If a user supplies an empty slug, its likely a mistake. WP-CLI shouldn't
proceeed to install the first result from WordPress.org
a936bf6
@danielbachhuber danielbachhuber Prevent runaway memory usage by clearing object cache after each file 43e313e
@danielbachhuber danielbachhuber Failing test case for greedy parsing of args again 7e9159e
@danielbachhuber danielbachhuber Fix greedy parsing of command args, part two
When an example is included at the beginning of the command, we need to
make sure we don't match on example usage.
7bdc0a4
@danielbachhuber danielbachhuber Merge pull request #2716 from wp-cli/1704-mem-usage
Prevent runaway memory usage by clearing object cache after each file
ff99a36
@danielbachhuber danielbachhuber Merge pull request #2715 from wp-cli/2708-ignore-empty-slugs
Ignore ambigious empty plugin and theme slugs when installing
fa2b86d
@danielbachhuber danielbachhuber Merge pull request #2717 from wp-cli/2587-greedy-parsing-again
Fix greedy parsing of command args, part two
3a62ead
Commits on May 04, 2016
@ernilambar ernilambar fix command in comment feature test 9dd7d2b
@ernilambar ernilambar remove all comments before test 3ea2c2c
@danielbachhuber danielbachhuber Merge pull request #2714 from ernilambar/branch-2710
issue of taking only first digit from Comment ID
821c1a1
@danielbachhuber danielbachhuber Mention multisite rewrite rules will need to be added manually. bfb51cf
@danielbachhuber danielbachhuber Merge pull request #2722 from wp-cli/2721-convert-rewrites
Mention multisite rewrite rules will need to be added manually.
747b7ad