Open
Conversation
Rewrote a ton of crap, like seriously
Second draft will include: > wpcore() > QA testing on each function > wpfix() fixes > Hopefully a much better wpht() > Other stuff I think of, including output formatting changes
Now a fully functional wpcore() while I prepare to gut it entirely :frowning: Program is fully functional at this point and ready for QA + second draft
>hoping to give wpfix --hard a menu >new wpcore & wpstats need testing
>Ready for some basic QA, then push to master
>wpenv now works in subdirectories of wp installs >colored text in wpfix db operations >wpver now detects versions in more scenarios >updateWordpress is better at detecting wordpress installs (and just in general)
> biggest thing in this small fix is wpuser() wouldn't run commands without an argument, `wpuser list` for example > second biggest fix: improved user input sanitization in wpfix()
> added help text for wptheme help use > aliased help text for wptheme help -u > wpfix() rebuilds config first, so that successive functions that require db connectivity have a better chance of being able to run > muted sed / grep in wpstats(), we don't care if it fails > fixed wpdb help update-db > aliased help text for wpplug -a, -d, -u
> in wpcore(), if update fails do download instead
> by adding skip-plugins and skip-themes to all commands, we can still run commands if themes / plugins are corrupted
> wpver() skips plugins / themes too > fileversion / databaseversion fail properly
> now actually generates random passwords
skip-plugins and skip-themes doesn't actually work on old wpcli apparently
> wpuser -p wasn't getting password input > also now prompts for password if you don't give it one
> Small textual changes when replacing core files of the same version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrote a ton of crap, like seriously