Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.44 KB

File metadata and controls

51 lines (34 loc) · 2.44 KB

Multi-Author Posts

A WordPress plugin that allows multiple authors to edit a single post via shared invite links. Compatible with WordPress collaborative editing.

Test in WordPress Playground

Features

  • Co-author management -- Add or remove co-authors from any post via the block editor sidebar panel.
  • Shared invite links -- Generate a shareable URL that lets any registered user join as a co-author. Links expire after 24 hours and are automatically revoked when the post is published; existing co-authors keep their access.
  • Capability-aware -- Co-authors can edit and read their assigned posts without gaining broader site permissions.
  • Multisite support -- Invited users are automatically added to the site with a subscriber role so they can access the editor.
  • Author preservation -- When a post's author is reassigned, the previous author is automatically kept as a co-author.

Co-author permissions

Co-authors have the same management trust as the original post author. They can:

  • Add and remove other co-authors
  • Generate, copy, and revoke the shared invite link
  • Edit and read the post itself

The only things they cannot do:

  • Reassign post authorship (requires edit_others_posts, enforced by WordPress core)
  • Delete the post (the map_meta_cap filter explicitly excludes delete_post)

Requirements

  • WordPress 6.6+
  • PHP 7.4+
  • Node.js 20+ (for development)

Development

# Install dependencies
npm install

# Start the development environment
npm run env:start

# Build the editor assets
npm run build

# Run JavaScript tests
npm run test:unit

# Run PHP tests (requires wp-env)
npm run test:php