Before submitting a pull request, please make sure the following is done:
- First and foremost: thanks for contributing.
- Fork the repository and create your branch from
develop
. We encourage you to use the Git Flow and to create a feature branche. - If you've fixed a bug or added code that should be tested, please, add tests.
- Follow WordPress Coding Standards. Pay special attention to documenting your code.
- Prefer clarity over clever tricks in your code.
- Leverage "vanilla" Javascript and avoid Javascript frameworks/libraries like JQuery unless really needed. A good resource is
- Make sure your code lints.
- Open a issue in the source repository for early discussion before submitting your pull request. Maybe even before coding. If there's an open issue related to you contribution, engage in discussions in there as soons as possible