Skip to content
WordPress Develop, Git-ified. Synced from git://develop.git.wordpress.org/, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please include a link to a pre-existing ticket on https://core.trac.wordpress.org/ with every pull request.
PHP CSS JavaScript HTML Python Rich Text Format
Branch: master
Clone or download

Latest commit

SergeyBiryukov Build/Test Tools: Bump devDependencies for WordPress 5.4.
Props ayeshrajans, garrett-eclipse.
Fixes #49547.

git-svn-id: https://develop.svn.wordpress.org/trunk@47404 602fd350-edb4-49c9-b593-d223f7449a82
Latest commit 822167a Mar 2, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github General: Introduce a pull request template. Feb 21, 2020
src Docs: Use more specific type in parameter descriptions for `is_page()… Mar 1, 2020
tests Tests: Add a unit test to ensure the "Supported Versions" section of … Mar 2, 2020
tools Build Tools: Feb 24, 2020
.editorconfig General: Instruct file editors not to trim trailing whitespace in mar… Mar 20, 2018
.env Docs: Fix typo in `.env` file description. Dec 30, 2019
.gitignore Build Tools: Feb 24, 2020
.jshintrc Build tools: Fix the `travis:js` build. Dec 24, 2018
.npmrc Once upon a midnight dreary, while I coded, weak and weary, May 23, 2018
.nvmrc Once upon a midnight dreary, while I coded, weak and weary, May 23, 2018
.travis.yml Build/Test Tools: Don't hardcode the directory name of the repo Oct 28, 2019
Gruntfile.js Build Tools: Do not delete the (now committed) `script-loader-package… Feb 26, 2020
README.md Docs: Fix typo in `README.md`. Nov 20, 2019
SECURITY.md Security: Add WordPress 5.3.x to the "Supported Versions" section of … Nov 16, 2019
appveyor.yml Build/Test Tools: Remove the dependency on a globally installed Grunt. May 26, 2019
composer.json Coding Standards: Update PHPCS Composer plugin to v0.6.0. Feb 28, 2020
composer.lock Build/Test Tools: Introduce automated PHP compatibility checking. Sep 25, 2019
docker-compose.yml Build/Test Tools: Expose port 3306 of MySQL container. Feb 9, 2020
jsdoc.conf.json Build Tools: Fix JSDoc configuration include paths. Jun 14, 2018
package-lock.json Build/Test Tools: Bump devDependencies for WordPress 5.4. Mar 2, 2020
package.json Build/Test Tools: Bump devDependencies for WordPress 5.4. Mar 2, 2020
phpcompat.xml.dist Docs: Improve inline comments per the documentation standards. Jan 29, 2020
phpcs.xml.dist Coding Standards: Adjust coding standards to always omit parentheses … Feb 7, 2020
phpunit.xml.dist Docs: Improve inline comments per the documentation standards. Jan 29, 2020
webpack.config.js Build tools: Allow building WordPress to `src`. Dec 24, 2018
wp-cli.yml Build/Tests: Default to running unit tests from `src`. Jan 9, 2019
wp-config-sample.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__… Feb 6, 2020
wp-tests-config-sample.php Tests: Revert the `dirname( __FILE__ )` replacement in `wp-tests-conf… Feb 6, 2020

README.md

WordPress

Build Status

Welcome to the WordPress development repository! Please check out our contributor handbook for information about how to open bug reports, contribute patches, test, documentation, or get involved in any way you can.

Getting Started

WordPress is a PHP/MySQL-based project. We have a basic development environment that you can quickly get up and running with a few commands. First off, you will need to download and install Docker, if you don't have it already. After that, there are a few commands to run:

Development Environment Commands

Running these commands will start the development environment:

npm install
npm run build:dev
npm run env:start
npm run env:install

Additionally, npm run env:stop will stop the environment.

npm run env:cli runs the WP-CLI tool. WP-CLI has a lot of useful commands you can use to work on your WordPress site. Where the documentation mentions running wp, run npm run env:cli instead. For example, npm run env:cli help.

npm run test:php and npm run test:e2e run the PHP and E2E test suites, respectively.

You can’t perform that action at this time.