Content type: Handbook

  • AI Guidelines

    AI tools are now part of how many people write code, tests, and documentation. This guide explains how to use them responsibly when contributing to the WordPress project, so that your contributions are: Compatible with the GPLGPL GPL is an acronym for GNU Public License. It is the standard license WordPress uses for Open Source…

  • Writing Behat Tests for WP-CLI

    WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ uses Behat for functional testing. This guide will help you understand how to write and run Behat tests for WP-CLI commands and packages. Introduction What are Behat Tests? Behat…

  • Licensing

    WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ is licensed under the MIT license. This document outlines WP-CLI’s licensing expectations for third-party code. Accepting third-party code into the official repository/organization All code accepted into repositories under the…

  • Verifying WP-CLI Downloads

    This guide explains how to cryptographically verify the authenticity and integrity of WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ releases after downloading them from the Internet and before installing them on your system. Why verify downloads?…

  • Figure out why WordPress is slow

    wp profile is a WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ command to help you quickly identify what’s slow with WordPress. It’s designed to work alongside Xdebug and New Relic because it’s easy to deployDeploy Launching…

  • Configure Dependabot for your repository

    Contributors can enable Dependabot for their repositories by making the following changes to the repository. Enabling Branch Protection Rules Before you configure Dependabot, you need to ensure that Branch Protection Rules are in place for at least the main branch of your repository.At the top of the Repository page, navigate to Settings, expand Rules, and…

  • Setting Up Dependabot for WP Training Team repositories

    This guide provides detailed instructions for setting up Dependabot version updates, along with automatic approval and merging of Dependabot pull requests in a GitHubGitHub 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…

  • Given /^a WP( [^s]+)? install(?:ation)? in [‘"]?([^’"]+)[‘"]?$/

    Installs WordPress in a given directory. Usage Scenario: My example scenario Given a WP installation in ‘foo’ … Scenario: My other scenario Given a WP install in ‘bar’ … Scenario: My version-specific scenario Given a WP 6.4.2 installation in ‘subdir’ … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface…

  • Approach

    CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Philosophy Make everything discoverable: Functions aren’t just accessible, they’re self-documenting and findable programmatically. Never lock in Don’t tie users to specific AI providers Don’t hard-code standards; use adapters Build platform-agnostic first, adapt to WordPress second Modular building blocks:…

  • Glossary

    dl.glossary-list dd { margin-top: -50px; padding-top: 50px; } Abilities API A coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress. WordPress APIAPI An API or Application Programming Interface is a software…