• On WPMU sites that have Donncha’s Sitewide Tags mu-plugin installed, Prologue throws an error when using the embedded post entry form on index.php – the wp_insert_post method borks because there is no Category in the array. VERY easy fix to get past this, by modifying the index.php file in Prologue to send an empty array for the Category on the post. The affected code is at line 23 of index.php, and should be modified like so:

    $post_id = wp_insert_post( array(
                    'post_author'   => $user_id,
                    'post_title'    => $post_title,
                    'post_content'  => $post_content,
                    'tags_input'    => $tags,
                    'post_status'   => 'publish',
    		'post_category'	=> array(0)
            ) );

    With that modification, Prologue happily posts and publishes updates without error.

  • The topic ‘Minor bug blocking WPMU with Sitewide Tags (includes fix)’ is closed to new replies.