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 Database: Introduce `wpdb::db_server_info()` to retrieve full MySQL s…
…erver information string as supplied by `mysqli_get_server_info()`.

This complements `wpdb::db_version()`, which only returns a numeric version string and strips any additional information, e.g. vendor name.

Props clarinetlord, birgire, webaware, pento.
Fixes #40037. See #27703.

git-svn-id: https://develop.svn.wordpress.org/trunk@47451 602fd350-edb4-49c9-b593-d223f7449a82
Latest commit ed9d5c3 Mar 12, 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 Database: Introduce `wpdb::db_server_info()` to retrieve full MySQL s… Mar 12, 2020
tests Database: Introduce `wpdb::db_server_info()` to retrieve full MySQL s… Mar 12, 2020
tools Scripts: Use core-js url as polyfill for window.URL. Mar 3, 2020
.editorconfig General: Instruct file editors not to trim trailing whitespace in mar… Mar 20, 2018
.env
.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
.travis.yml Tests: Download Chromium for e2e tests only. Mar 11, 2020
Gruntfile.js Build Tools: Exclude the `src/wp-includes/assets/` directory from cop… Mar 2, 2020
README.md Docs: Fix typo in `README.md`. Nov 20, 2019
SECURITY.md Trunk is now 5.5 alpha Mar 4, 2020
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 Block Editor: Update WordPress Packages WordPress 5.4 RC 2. Mar 10, 2020
package.json Block Editor: Update WordPress Packages WordPress 5.4 RC 2. Mar 10, 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.