{"id":18108,"date":"2025-06-12T00:42:40","date_gmt":"2025-06-12T00:42:40","guid":{"rendered":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/contributing\/"},"modified":"2025-07-01T13:08:15","modified_gmt":"2025-07-01T13:08:15","slug":"contributing","status":"publish","type":"handbook","link":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/contributions\/contributing\/","title":{"rendered":"Contributing"},"content":{"rendered":"<p>Welcome and thanks!<\/p>\n<p>We appreciate you taking the initiative to contribute to <span tabindex='0' class='glossary-item-container'>WP-CLI<span class='glossary-item-hidden-content'><span class='glossary-item-header'>WP-CLI<\/span> <span class='glossary-item-description'>WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/http\/wp-cli.org\/\">https:\/\/round-lake.dustinice.workers.dev:443\/http\/wp-cli.org\/<\/a> <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/\">https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/<\/a><\/span><\/span><\/span>. It\u2019s because of you, and the community around you, that WP-CLI is such a great project.<\/p>\n<p><strong>Contributing isn\u2019t limited to just code.<\/strong> We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local <span tabindex='0' class='glossary-item-container'>meetup<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Meetup<\/span> <span class='glossary-item-description'>All local\/regional gatherings that are officially a part of the WordPress world but are not WordCamps are organized through <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/www.meetup.com\/\">https:\/\/round-lake.dustinice.workers.dev:443\/https\/www.meetup.com\/<\/a>. A meetup is typically a chance for local WordPress users to get together and share new ideas and seek help from one another. Searching for \u2018WordPress\u2019 on meetup.com will help you find options in your area.<\/span><\/span><\/span>, helping other users with their support questions, or revising our documentation.<\/p>\n<p>Please take a moment to read these guidelines in depth. Following the guidelines helps to communicate that you respect the time of the other contributors to the project. In turn, they\u2019ll do their best to reciprocate that respect when working with you, across timezones and around the world.<\/p>\n<p>Should you have any questions about contributing, please join the <code>#cli<\/code> channel in the <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/chat\/\">WordPress.org Slack<\/a>.<\/p>\n<h3>Reporting Security Issues<\/h3>\n<p>The WP-CLI team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.<\/p>\n<p>To report a security issue, please visit the <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/hackerone.com\/wordpress\">WordPress HackerOne<\/a> program.<\/p>\n<h3>Reporting a bug<\/h3>\n<p>Think you\u2019ve found a bug? We\u2019d love for you to help us get it fixed.<\/p>\n<p>Before you create a new issue, you should <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/search?q=org%3Awp-cli+label%3Abug+is%3Aopen+sort%3Aupdated-desc&amp;type=issues\">search existing issues<\/a> to see if there\u2019s an existing resolution to it, or if it\u2019s already been fixed in a newer version of WP-CLI. You should also check our <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/common-issues\/\">documentation on common issues and their fixes<\/a>.<\/p>\n<p>Once you\u2019ve done a bit of searching and discovered there isn\u2019t an open or fixed issue for your bug, please <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/bug-reports\/\">follow our guidelines for submitting a bug report<\/a> to make sure it gets addressed in a timely manner.<\/p>\n<h3>Creating a pull request<\/h3>\n<p>Want to contribute a new feature? WP-CLI is a mature project, and already chock-full of useful functionality. Please first <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/wp-cli\/ideas\/issues\/new\">open an ideas issue to suggest new commands<\/a>, or open an issue in the appropriate repository to suggest enhancements to existing commands. Opening an issue before submitting a pull request helps us provide architectural and implementation guidance before you spend too much time on the code.<\/p>\n<p>New to the WP-CLI codebase? Check out <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/good-first-issues\/\">issues labeled \u2018good-first-issue\u2019<\/a> for a place to start. These issues are specially earmarked for new contributors.<\/p>\n<p>Once you\u2019ve decided to commit the time to seeing your pull request through, please <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/pull-requests\/\">follow our guidelines for creating a pull request<\/a> to make sure it\u2019s a pleasant experience. See \u201c<a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/pull-requests\/#setting-up\">Setting up<\/a>\u201d for details on making local modifications to WP-CLI. Keep in mind pull requests are <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/pull-requests\/#running-and-writing-tests\">expected to have tests<\/a> covering the scope of the change. Read through <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/code-review\/\">our code review guidelines<\/a> for a better understanding of how your pull request will be evaluated.<\/p>\n<h3>Improving our documentation<\/h3>\n<p>Is documentation your strength? Take a look at the currently open <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/search?q=org%3Awp-cli+label%3Ascope%3Adocumentation+is%3Aopen+sort%3Aupdated-desc&amp;type=issues\">documentation issues<\/a> and see if you can tackle any of those.<\/p>\n<p>There are a couple different types of documentation currently part of WP-CLI:<\/p>\n<ul>\n<li>Documentation for individual WP-CLI commands (anything underneath <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/developer.wordpress.org\/cli\/commands\/\">developer.wordpress.org\/commands<\/a>) is contained in the PHPDoc for each command. This means that to edit the documentation for a command, you will need to edit the file that actually provides the functionality for that command. The web documentation is generated from these files at the time of release, so you may not see your changes until the next release.<\/li>\n<li>Individual documentation pages (anything under <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/handbook\/\">make.wordpress.org\/cli\/handbook<\/a>) can be edited by contributing to the <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/wp-cli\/handbook\/\">handbook repository on GitHub<\/a>. You don\u2019t necessarily need to navigate the <span tabindex='0' class='glossary-item-container'>GitHub<span class='glossary-item-hidden-content'><span class='glossary-item-header'>GitHub<\/span> <span class='glossary-item-description'>GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the \u2018pull request\u2019 where code changes done in branches by contributors can be reviewed and discussed before being merged by the repository owner. <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/\">https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/<\/a><\/span><\/span><\/span> repo though; any page that is part of this repository will have an \u2018Edit\u2019 link in the top right of the page which will take you to the corresponding file on GitHub.<\/li>\n<\/ul>\n<h3>Contributing in other ways<\/h3>\n<p>Feel free to <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/github.com\/wp-cli\/wp-cli\/issues\/new\">create an issue<\/a> with your question, and we\u2019ll see if we can find an answer for it.<\/p>\n<p>Alternatively, if you have a <span tabindex='0' class='glossary-item-container'>WordPress.org<span class='glossary-item-hidden-content'><span class='glossary-item-header'>WordPress.org<\/span> <span class='glossary-item-description'>The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization.  <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/wordpress.org\/\">https:\/\/round-lake.dustinice.workers.dev:443\/https\/wordpress.org\/<\/a><\/span><\/span><\/span> account, you may also consider joining the <code>#cli<\/code> channel on the <a href=\"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/chat\/\">WordPress.org Slack organization<\/a>.<\/p>\n<nav class='o2-post-footer-actions'><ul class='o2-post-footer-action-row'><\/ul><div class='o2-post-footer-action-likes'><\/div><ul class='o2-post-footer-action-row'><\/ul><\/nav>","protected":false},"author":368236,"featured_media":0,"parent":18369,"menu_order":0,"template":"","meta":{"footnotes":""},"class_list":["post-18108","handbook","type-handbook","status-publish","hentry","author-swissspidy","make-contributing"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/handbook\/18108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/handbook"}],"about":[{"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/types\/handbook"}],"author":[{"embeddable":true,"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/users\/368236"}],"version-history":[{"count":1,"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/handbook\/18108\/revisions"}],"predecessor-version":[{"id":18357,"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/handbook\/18108\/revisions\/18357"}],"up":[{"embeddable":true,"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/handbook\/18369"}],"wp:attachment":[{"href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/make.wordpress.org\/cli\/wp-json\/wp\/v2\/media?parent=18108"}],"curies":[{"name":"wp","href":"https:\/\/round-lake.dustinice.workers.dev:443\/https\/api.w.org\/{rel}","templated":true}]}}