Go to file
Aaron Jorbin 269c8baa33 Build/Test Tools: Fork and Update `grunt-replace`
The version of grunt replace that is bundled in core is using an outdated version of lodash that is bringing 2 low, 3 high, and 1 critical issue. This package is currently abandoned. There is a community forked version, but that is also harboring some similar security issues.

This switches to a fork by @whyisjake and causes no change to the build.

See #48203.
Fixes #48217.
Props whyisjake, netweb for testing.



git-svn-id: https://develop.svn.wordpress.org/trunk@46403 602fd350-edb4-49c9-b593-d223f7449a82
2019-10-05 13:47:52 +00:00
src Site Health: Improve the wording for `UTF8MB4` test description. 2019-10-05 02:38:14 +00:00
tests Themes: In `get_theme_mod()`, only run the `sprintf()` replacement on the default value if there's a string format pattern found in the value. 2019-10-05 00:53:39 +00:00
tools
.editorconfig
.env
.gitignore
.jshintrc
.npmrc
.nvmrc
.travis.yml
Gruntfile.js Built/Test Tools: Ignore the `node_modules` folder in Twenty Twenty. 2019-09-30 15:57:21 +00:00
README.md
appveyor.yml
composer.json
composer.lock
docker-compose.yml
jsdoc.conf.json
package-lock.json Build/Test Tools: Fork and Update `grunt-replace` 2019-10-05 13:47:52 +00:00
package.json Build/Test Tools: Fork and Update `grunt-replace` 2019-10-05 13:47:52 +00:00
phpcompat.xml.dist
phpcs.xml.dist
phpunit.xml.dist
webpack.config.js
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php

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, documention, 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.