Releases: JayWood/jw-wpcli-random-posts
Releases · JayWood/jw-wpcli-random-posts
House Cleaning - Faker Library
- 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
- 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.
- 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
- Fixed - #6 - Error message duplication
- Fixed - #10 - Removed a lot of log messages, added progress bars in their place.
- Changed -
posts
command togenerate
- 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
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
Initial Release