-
Notifications
You must be signed in to change notification settings - Fork 206
Prevented duplication of Guest Authors when only their creation date is different #507
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
Closed
Conversation
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
…-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
Known issue in CAP
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
When joining term_taxonomy, also join term_relationships with alias to prevent unintended matches in case of another taxonomy query.
wp_kses() doesn't print, only returns, so make sure we echo it.
Make sure to echo wp_kses()
Add filter to allow query args to be filtered for the guest authors listing. Allows, for example, sorting by last-name-first-name.
… author ID is the queried object id see Automattic#375 Greedy replacments could let, for example, a contributor see an author's private posts. Instead make sure that private posts are only shown to the primary author.
see Automattic#375 Allow coauthors to see their private posts in the author archive.
Setting up PHPCS checks with Travis
…author archive Make sure additional filtering on private post clause only goes into effect if it's an author archive.
Let guest authors query args (admin-side) be filtered
Join term_relationships with alias
Update .travis.yml file for PHPUnit tests
Review and improve test coverage
Unit tests/Fix warnings for template tags
Remove redundant test for 404 on Author Archive
…port the_coauthor_meta function
# Conflicts: # tests/test-template-tags.php
Fix the issue where incompatibility when `coauthors_auto_apply_template_tags` set to true
Changes to resolve issue Automattic#332 about missing coauthor meta
Fix failing test cases for coauthors functions
…dating conditions The template tag was outputting usernames of guest authors when they do not have a website set in their profile. It will now output guest authors display names as expected.
A couple of test cases were failing as the return value of a function has changed as per the modifications done for fixing the issue(Issue Automattic#469)
…me-instead-of-display-name
…ion-return-author-login-name-instead-of-display-name Unexpected output of template tag 'coauthors_links' is resolved by updating conditions
…is different Added a function to attach to the filter in Wordpress Importer plugin to modify the duplicate post detection process by avoiding the use of `post_date`
Only the last commit is relevant here. We'll want to ensure that we only look at the relevant post types; currently, the commit applies different behaviour to the importing of all post types. |
Closing for age, conflicts and lack of update to narrow the scope to the right post type. |
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.
Fixes #326
Added a function to attach to the filter in Wordpress Importer plugin to modify the duplicate post detection process by avoiding the use of
post_date