Skip to content

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
wants to merge 256 commits into from

Conversation

binodkalathil
Copy link
Contributor

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

mjangda and others added 30 commits June 24, 2016 11:44
…-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
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.
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
philipjohn and others added 22 commits March 2, 2018 14:49
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
# 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)
…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`
@GaryJones
Copy link
Contributor

GaryJones commented Jul 27, 2023

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.

@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:24
@GaryJones
Copy link
Contributor

Closing for age, conflicts and lack of update to narrow the scope to the right post type.

@GaryJones GaryJones closed this Aug 25, 2023
@GaryJones GaryJones removed this from the 3.6 milestone Aug 25, 2023
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.

Imported guest-author posts differing only in post_date should not be duplicated