Thank you for considering a contribution to ODR Image Optimizer! This document provides guidelines and instructions for contributing.
Be respectful, inclusive, and constructive in all interactions.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Write or update tests
- Ensure code follows WordPress standards
- Commit with clear messages:
git commit -m 'Add feature: description' - Push to your fork:
git push origin feature/your-feature - Submit a pull request
This project follows WordPress Coding Standards.
# Install dependencies
composer install --dev
# Check code standards
composer run phpcs
# Auto-fix issues
composer run phpcbfUse clear, descriptive commit messages:
Add feature: descriptionFix bug: descriptionRefactor: descriptionDocs: descriptionTest: description
- Code follows WordPress standards
- All tests pass
- Documentation is updated
- Commit messages are clear
- No merge conflicts
- Describe the change clearly
- Reference any related issues
- Explain the motivation
- Include testing notes
Use GitHub Issues with:
- Clear title
- Detailed description
- Steps to reproduce
- Expected vs actual behavior
- Environment (PHP, WordPress, plugin versions)
Use GitHub Issues with:
- Clear title
- Detailed description
- Use case/motivation
- Possible implementation approach
For security vulnerabilities, do not open a public issue. Email: security@danhle.net
- Check existing issues/discussions
- Review documentation
- Ask in PR/issue comments
Thank you for contributing! 🙏