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

Allow bulk edit of coauthors #747

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Oct 3, 2020

  1. Configuration menu
    Copy the full SHA
    15bb561 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    799c4d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Fix undefined index: post errors

    Return `$post_data` in `theaction_bulk_edit_update_coauthors` function to prevent undefined errors.
    
    `wp_insert_post_data` is a filter so we need to return a value. When we aren't bulk editing, the `action_bulk_edit_update_coauthors` function still fires on every post data insert, so we need to return the value of the post data when we exit it early in L621 to prevent the undefined warnings.
    
    Also simplified the text instructions for the author bulk edit to emphasize that all previous authors are removed when new authors are added.
    lschuyler committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    534ec8d View commit details
    Browse the repository at this point in the history