• I have a question, where does it store all the co-authors of that post?

    Example: I create a post with three authors and one gets lost.

    Where can I find the field/table where this data was stored?

Viewing 2 replies - 1 through 2 (of 2 total)
  • AlexKole

    (@alexanderkoledov)

    Faced the same problem. Looks like a bug in the “coauthors__echo” function.
    In my wp theme, I fixed it so far like this –

    // === BEFORE ===
    //  $coauthors_str = coauthors_ids('',',','', '', false );
    //  $coauthors_arr = explode(',', $coauthors_str);
    // 
    //
    // === NOW ===     
    
    $coauthors_arr = [];
    if( class_exists('CoAuthorsIterator') ) {
        $coauthor_fix_temp = new CoAuthorsIterator();
        foreach ($coauthor_fix_temp->authordata_array as $coauthor_fix_temp_item ) {
            $coauthors_arr[] = $coauthor_fix_temp_item->ID;
        }
    }
    
    

    Perhaps it will be useful.

    • This reply was modified 1 year, 9 months ago by AlexKole.
    Thread Starter valparajara

    (@valparajara)

    Hello @alexanderkoledov. Which version did you identify that there was this bug? I identified that my plugin installation is outdated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘create a post with three authors and one gets lost’ is closed to new replies.