Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.19 KB

CONTRIBUTING.md

File metadata and controls

32 lines (21 loc) · 1.19 KB

Contributing to Co-Authors Plus

Pull Requests

Please make pull requests against the develop branch.

Ideally include tests.

Every commit must be signed. The develop and main branches only accept commits with a verified signature, so a pull request containing an unsigned commit can't be merged until you re-sign the commits and force-push the branch. See GitHub's guide to signing commits.

Local development

Run wp-env start to spin up a local WordPress environment. On start it activates Query Monitor and seeds demo data (bin/seed-demo-data.php): a spread of users, standalone and linked guest authors, and posts covering single, multiple, mixed, fallback, and orphaned-author bylines. All demo users share the password password.

Re-seed at any time (the script is idempotent) with:

composer dev:seed

Terminology: co-author vs coauthor

If talking about co-authors in a documentation, DocBlock, comment, or user-facing string, please include the hyphen.

Variables, constants, class, trait, interface, function, method, hook, and other programmatic names can all use no-hyphen.