Packagist_big

wp-cli/entity-command

All 12 versions

Version Release date
v1.2.0 January 29, 2018
  • option get:
    • Displays error message if option doesn't exist [#126].
  • option list:
    • Defaults to not showing transients [#127].
  • post create/update:
    • Adds the ability to add multiple metadata by passing JSON-formatted arrays to --meta_input [#133, #138].
  • post create:
    • Accepts category slugs in --post_category and checks if incorrect ids or slugs given [#129].
  • post delete:
    • Corrects delete message [#124].
  • user remove-caps:
    • Errors if the cap doesn't exist or is inherited from a role [#125].
  • user reset-password:
    • New command to reset a user's password [#119].
  • Updates scaffolded README and tests and requires wp-cli/wp-cli: ^1.5 [#118, #133, #137].
v1.1.4 December 18, 2017
  • post generate:
    • Adds support for generating a specific post_title [#94].
  • Documentation, test suite, and repository improvements [#111, #112, #113, #114, #116, #117].
v1.1.3 November 21, 2017
  • user import-csv:
    • Removes duplicated read from stdin [#103].
  • Updates scaffolded tests to enable error reporting [#108].
  • Updates scaffolded README and GitHub configuration [#109].
v1.1.2 October 15, 2017
  • Updates test for text string change in multisite installation [#102].
v1.1.1 October 07, 2017
  • user import-csv:
    • Permits importing CSV from STDIN [#100].
v1.1.0 September 29, 2017
  • Adds pluck and patch commands to wp option and wp (post|comment|user|term) meta for fetching and modifying serialized data [#24, #65].
  • Introduces commands for managing mature and public status of sites [#63].
  • Improves performance of wp comment list --format=count [#64].
  • Prevent deleting the root site on multisite, which WordPress core doesn't permit [#73].
  • Adds wp user (spam|unspam) for marking users as spam [#74, #86, #90].
  • Supports --order=(asc|desc) and --orderby=(default|<key>) when listing options and meta [#47].
  • Improves top-level command descriptions [#72, #75, #77, #83].
  • Updates package tests to latest [#91, #92].
v1.0.5 August 07, 2017
  • Fixes invalid synopsis part in argument definition [#43].
v1.0.4 August 05, 2017
  • Introduces --by=<type> argument to get-update-delete term by slug [#27].
  • Implements --all flag to remove all terms from a post [#23].
  • Defines arguments for fields accepted by wp user (create|update) [#39, #42].
  • Updates package with latest scaffolded components [#38].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#41].
v1.0.3 June 29, 2017
  • Support fetching users with an email address in the login field [#21].
  • Support --field=<field> when using wp post term list [#17].
v1.0.2 May 30, 2017
  • Clarifies this command as a bundled command.
  • Adds missing ## OPTIONS heading to commands.
  • Fixes Travis CI caching for composer.
  • Runs Travis tests against WP-CLI dev-master.
v1.0.1 April 18, 2017
  • Adds wp option * from wp-cli/wp-cli.
  • Generates 24 character password for new users.
  • Further clarifies accepted args for wp user list.
  • In taxonomy test, uses "nav_menu_item" to avoid WP 4.4 data change issue.
v1.0.0 April 04, 2017
  • Initial release.