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

$ignored_authors in search should use user_nicename, not login. #569

Merged
merged 1 commit into from
Jul 25, 2018
Merged

$ignored_authors in search should use user_nicename, not login. #569

merged 1 commit into from
Jul 25, 2018

Conversation

TheCrowned
Copy link
Contributor

This fixes #568.

As per #532, the $ignored_authors arg to search_authors() should take an array of user_nicenames, not user_logins. The second test in test_search_authors_when_ignored_authors_provided() would fail because of this, while test_search_authors_when_search_keyword_and_ignored_authors_provided() could fail. I addressed them both. They all succeed now.

@rebeccahum
Copy link
Contributor

LGTM!

@rebeccahum rebeccahum merged commit 1dd63e7 into Automattic:master Jul 25, 2018
@TheCrowned TheCrowned deleted the fix/568-failing-test branch July 25, 2018 07:42
@TheCrowned TheCrowned restored the fix/568-failing-test branch July 25, 2018 07:55
rebeccahum added a commit that referenced this pull request Mar 26, 2019
$ignored_authors in search should use user_nicename, not login.
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.

Test test_search_authors_when_ignored_authors_provided failing
2 participants