Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add offset and number to create-guest-authors #378

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from

Conversation

aaronjorbin
Copy link
Contributor

Currently, create-guest-authors is an all or nothing proposition. What happens though when you are 50% complete with a 30,000 user import and then accidently close your terminal window? You have to start over. By allowing chunking of create-guest-authors, this can be continued from the number that have been completed rather than starting from scratch.

Anecdotally, running it in chunks seems to be quicker.

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
Currently, create-guest-authors is an all or nothing proposition. What happens though when you are 50% complete with a 30,000 user import and then accidently close your terminal window?  You have to start over.  By allowing chunking of create-guest-authors, this can be continued from the number that have been completed rather than starting from scratch
@GaryJones
Copy link
Contributor

Only the last commit is relevant here. Simple but useful addition.

@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
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.

None yet

8 participants