Skip to content

Latest commit

 

History

History
executable file
·
38 lines (27 loc) · 2.2 KB

CONTRIBUTING.md

File metadata and controls

executable file
·
38 lines (27 loc) · 2.2 KB

#Contribute To MashShare

Community made patches, localisations, bug reports and contributions are always welcome.

When contributing please ensure you follow the guidelines below so that we can keep on top of things.

Please Note: GitHub is for bug reports and contributions only - if you have a support question or a request for a customisation don't post here, go to our Support Forum instead.

Getting Started

  • Submit a ticket for your issue, assuming one does not already exist.
    • Raise it on our Issue Tracker
    • Clearly describe the issue including steps to reproduce the bug.
    • Make sure you fill in the earliest version that you know has the issue as well as the version of WordPress you're using.

Making Changes

  • Fork the repository on GitHub
  • Make the changes to your forked repository
  • When committing, reference your issue (if present) and include a note about the fix
  • (coming soon) If possible, and if applicable, please also add/update unit tests for your changes
  • Push the changes to your fork and submit a pull request to the 'master' branch of the Mashshare repository

Code Documentation

  • We ensure that every MashShare function is documented well and follows the standards set by phpDoc
  • An example function can be found here
  • Please make sure that every function is documented so that when we update our API Documentation it will complete
  • If you're adding/editing a function in a class, make sure to add @access {private|public|protected}
  • Finally, please use tabs and not spaces. The tab indent size should be 4 for all MashShare code.

At this point you're waiting on us to merge your pull request. We'll review all pull requests, and make suggestions and changes if necessary.

Additional Resources