Skip to content

Conversation

aaronjorbin
Copy link
Contributor

The biggest part of this change is to add a progress bar for wp co-authors-plus create-guest-authors.

When doing a mass conversion, it's nice to be able to get a sense of "I should go eat lunch now, this is going to take a while" or "I shouldn't bother switching from Red to 1989, this will be done so quickly I may as well have Red play a third time in a row" or anything in between. This uses WP_CLI\Utils\make_progress_bar to create a progress bar.

Additionally, it adds the count of how many accounts will be attempted at the start in order to further improve the Developer User experience

See http://wp-cli.org/docs/internal-api/wp-cli-utils-make-progress-bar/

Philip John and others added 21 commits May 12, 2016 11:28
…nstead of concatenating and echoing strings.
…-emails

Send moderation email even if guest author has no email address
Better formatting for metabox_manage_guest_author_bio()
Update CLI to use cached functions
Not really being used in other tests
We can use these to verify that our author query mods work
And add an additional test for post_author + tax query
We need to check for both INNER and LEFT JOINs to avoid adding a dupe
query which leads to query errors in 4.6+.

See Automattic#374
The biggest part of this change is to add a progress bar for `wp co-authors-plus create-guest-authors`.

When doing a mass conversion, it's nice to be able to get a sense of "I should go eat lunch now, this is going to take a while" or "I shouldn't bother switching from Red to 1989, this will be done so quickly I may as well have Red play a third time in a row" or anything in between.  This uses `WP_CLI\Utils\make_progress_bar` to create a progress bar.

Additionally, it adds the count of how many accounts will be attempted at the start in order to further improve the Developer User experience

See http://wp-cli.org/docs/internal-api/wp-cli-utils-make-progress-bar/
@mjangda
Copy link
Member

mjangda commented Sep 17, 2016

Neat! Can you share a screenshot of what it looks like?

@aaronjorbin
Copy link
Contributor Author

Here are a couple of screenshots. The last two also inlcude another change I'm proposing seperately (so ignore the additional params)
screen shot 2016-09-16 at 1 03 36 pm
screen shot 2016-09-19 at 11 05 39 am
screen shot 2016-09-19 at 11 42 16 am

@GaryJones
Copy link
Contributor

Only the last commit is relevant here.

Looks like a progress bar had been added in the meantime. The only thing not added was:

it adds the count of how many accounts will be attempted at the start in order to further improve the Developer User experience

I like that, so I'm leaving this PR open on a milestone as a reminder to add that in.

@GaryJones GaryJones added this to the 3.6 milestone Jul 27, 2023
@GaryJones GaryJones changed the base branch from main to develop August 25, 2023 15:25
@alecgeatches alecgeatches modified the milestones: 3.6, 3.7 Apr 22, 2024
@GaryJones GaryJones modified the milestones: 3.7, Next minor Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants