-
Notifications
You must be signed in to change notification settings - Fork 206
Make sure post is reassigned to linked guest author if possible, when original author is removed #585
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
TheCrowned
wants to merge
306
commits into
Automattic:master
from
TheCrowned:fix/582-post-author-linked-account
Closed
Make sure post is reassigned to linked guest author if possible, when original author is removed #585
TheCrowned
wants to merge
306
commits into
Automattic:master
from
TheCrowned:fix/582-post-author-linked-account
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
No need to test PHP nightly for now; 7 + 7.1 are good for now. Drop WordPress 4.5.
More term ordering fixes
Prepare v3.2.2 release
This reverts commit 0fbede4.
Script was stopping after no co-authors was find. Now script will display an error message and continue to the next post.
This reverts commit f759744.
This reverts commit 6e7da2b.
Script was stopping after no co-authors was find. Now script will display an error message and continue to the next post.
Resolves #417 * Removed duplicate left join for optimization
…bled() should do the trick now
This reverts commit 525f211.
This reverts commit 5ac7d9a.
Reduce amount of sleep
…de WP queries non-TEMPORARY
…into fix/489-skip-filtering-for-irrelevant-caps
* [Style] Identation changed to tab * [Feat] Added personal data exporter to guest authors * [Feat] Added a filter to allow third part plugins add guest author data * [Style] WPCS fixes * [Fix] Filter name changed * [Style] WPCS fixes * [Fix] Filter name changed
… of assertNotContains
Re-enable disabled Test_Author_Queries tests
Add post type parameter to the Mine link, so it works for Pages
🐛Only filter author template for title
Fix possible discrepancy in author search with ignored authors
…relevant-caps Skip irrelevant capabilities filtering in filter_user_has_cap() with whitelist
…-on-multisite-test Removed Test_Author_Queried_Object setUp function
…ount column_posts() should use user_login when querying for linked_account
…t-authors Fixing double posts counts for users with linked accounts
$ignored_authors in search should use user_nicename, not login.
Only last commit is relevant. |
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 #582. (See issue for steps to reproduce).
This ensures that, when the original author is removed as coauthor, the post is reassigned (i.e. the
post_author
value updated) to one of the current coauthors. Before, onlywpuser
s would be considered, now also Guest Authors with a linked account are allowed.Also, manipulating
$author_name
in the foreach ended up making the subsequentin_array()
check always fail, hence making the should-we-reassign-the-post-routine run at every post save. I have created a new variable and this is also fixed.