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

Fixed WP CLI create-terms-for-posts if no co-authors found #420

Merged
merged 7 commits into from
Jun 17, 2017
Merged

Fixed WP CLI create-terms-for-posts if no co-authors found #420

merged 7 commits into from
Jun 17, 2017

Conversation

rebeccahum
Copy link
Contributor

@rebeccahum rebeccahum commented May 30, 2017

As per #410, script was stopping after no co-authors was found. Now script should display error message and continue to the next post.

Rebecca Hum added 6 commits May 29, 2017 19:39
Script was stopping after no co-authors was find. Now script will
display an error message and continue to the next post.
Script was stopping after no co-authors was find. Now script will
display an error message and continue to the next post.
@rebeccahum rebeccahum requested a review from trepmal May 30, 2017 21:56
Copy link
Contributor

@trepmal trepmal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually don't want to continue to the next post in this context. The function create_terms_for_posts() is looking for the posts with no terms in order to assign them.

@rebeccahum
Copy link
Contributor Author

rebeccahum commented Jun 1, 2017

Removed it.

@philipjohn philipjohn added this to the 3.3 milestone Jun 17, 2017
@philipjohn philipjohn merged commit 7bdae3c into Automattic:master Jun 17, 2017
@philipjohn
Copy link
Contributor

@trepmal Given the comments on #410 can you clarify whether this is necessary or we should revert the merge? Thanks!

rebeccahum pushed a commit that referenced this pull request Mar 26, 2019
Fixed WP CLI create-terms-for-posts if no co-authors found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants