Skip to content

Releases: JayWood/jw-wpcli-random-posts

House Cleaning - Faker Library

13 Oct 18:58
91495b3
Compare
Choose a tag to compare
  • A bit of house cleaning.
  • Moved generate and cleanup commands to separate files.
  • Renamed a lot of CLI arguments to make more sense.
  • Now using the Faker library instead of relying on API calls.
  • Author now supports email, slug ( login ), or ID.
  • Removed the media flag, no sense in having it if post type is empty it defaults to all.
  • Removed the --site option, use --url instead.
  • Made use of md5_file() to prevent image duplication within the media library.

Maintenance Release

07 Jan 00:59
Compare
Choose a tag to compare
  • Removed some CLI default values causing the script to complain when it shouldn't have.
  • Cleaned up get_post_content() a bit.
  • Ignore some PHPCS complaints about @unlink
  • Small message updates.
  • Some PHPCS fixes ( alignment, assignments, etc.. )

Ipsum & API updates.

19 Nov 04:48
Compare
Choose a tag to compare
  • Changed ipsum generator to loripsum.net, fixes #11
  • Update API url for random word getter ( setgetgo )
  • Remove dependency on exif PHP library.

Feature & Bugfix Release

24 Feb 19:18
Compare
Choose a tag to compare
  • Fixed - #6 - Error message duplication
  • Fixed - #10 - Removed a lot of log messages, added progress bars in their place.
  • Changed - posts command to generate - makes more sense.
  • Remove the flag --n for specfying post count, make post count required positional argument instead.
  • Significant readme updates.

Feature Release - Added cleanup capabilities!!! Yaaaassss

30 Dec 05:56
Compare
Choose a tag to compare

A decent amount of updates here:

  • Fixed possible bug with post_type_exists checks on multisite installs.
  • Added cleanup method to allow users to undo/remove posts, terms, and media that was added via this generator. This is not backwards compatible, with earlier versions, sorry guys!
  • Added post_status flag for generating posts, you can now set your own status.
    Note: status does not validate, so you can technically set this to anything, its up to you as a developer to expose custom statuses in the admin.
  • Added taxonomy validation: Script will now validate if a taxonomy is even registered, and allow you to continue if you want.

v1.0 - Random Post Generator

15 May 00:52
Compare
Choose a tag to compare